Closed MateuszManaj closed 5 years ago
Just check this example: https://github.com/carrascoacd/ArduinoSIM800L/blob/master/HttpExample/HttpExample.ino#L53
It is based on sprintf
https://www.tutorialspoint.com/c_standard_library/c_function_sprintf.htm
Hi there, How to add (in proper way) a variable (concat) to this json payload ? Result result = http.post("your.api.com", "{\"date\":\"12345678\"}", response);
thank you in advance Matthew