Menu

#13 Add libcurl features

open
nobody
None
5
2022-01-05
2022-01-05
Beren Scott
No

So, I was thinking, what about libcurl? On top of the message reporting to stderr and log files, what about adding libcurl in and having a method of talking to an API. I've started looking at adding this in, but my attempts have failed. I'm building this in buildroot, and well, struggling with the linking.

But, I'm thinking of a number of things, a) progress PUT to server b) progress GET from server for resuming a wipe c) error reporting PUT to server d) completed PUT to server.

At the moment, with my API I have a list of hard drives in it which are fed into the server, can do a simple GET request with the serial number of the hard drive to get the OID of the record, then when using curl, simply use this OID to make updates. I think there is a lot that can be done by having this tied into an API. It's the modern age, everything is an API.

Happy to lend some ideas for it, happy to add some code. I'm only having issue with the linking to libcurl.

Discussion

MongoDB Logo MongoDB