Answers for "curl send json as variable"

0

curl send json as variable

jsonvariable="{"ora" : "value1", "temp" : "value2", "rh" : "value3", "lat" : "value4", "longi" : "value5"}"


curl -X POST -H "Content-Type: application/json" -d '$jsonvariable' http://localhost:8080/updates
Posted by: Guest on April-22-2022

Code answers related to "Javascript"

Browse Popular Code Answers by Language