I need to post this data to my remote server:
StaticJsonBuffer<200> jsonBuffer;
DynamicJsonBuffer jBuffer;
JsonObject& root = jsonBuffer.createObject();
root["latitude"]= gps.location.lat(),
root["longitude"]= gps.location.lng();
root.prettyPrintTo(Serial);
I can't find any working tutorial to do it. I've connected my ethernet ENC28J60 module and it works fine but I don't know how to send POST data with header content type application json via this library. Can you help me?