Reading Json

Resources for reading https://rapidjson.org/md_doc_tutorial.html Reading json from a String Get json value functions Calling The functions Read json from a file

Read More

.Adding curl to your project

Command line curl is separate to libcurl that you can use in programs. Install curl Installing the OpenSSL version Using the Library In A NetBeans Project Including the library header file When you compile you also need to include -lcurl so the libraries object file is added to the final compilation. Right click the project > Properties […]

Read More

POST multipart form data

Synchronous stall execution based curl transfer Posting a file Asynchronous background based curl transfer Using mimepart instead formadd The curl MIME API was added to curl version 7.56.0 (it is not supported by earlier versions, e.g. Raspbian Stretch has curl 7.52.1. and wont’ install latest without lots of hassle) Adding a file

Read More

printf

Adding lots of values to a string Define the message Set the values within the message

Read More