Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

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
Comment

PREVIOUS NEXT
Code Example
Javascript :: array map 
Javascript :: get text selected 
Javascript :: mongoose find multiple and delete 
Javascript :: js scroll to bottom exact 
Javascript :: class component react 
Javascript :: line separator with text in the center react native 
Javascript :: how to validate from and to date using date.parse in javascript 
Javascript :: js highest number in array 
Javascript :: jquery timer countdown 
Javascript :: render first index active tabs in reactjs 
Javascript :: mongoose findone multiple conditions 
Javascript :: annotation 
Javascript :: javascript regex match character from a set of characters 
Javascript :: js array random 
Javascript :: javascript html video seek to time 
Javascript :: javascript validate if string null undefined empty 
Javascript :: splash screen react native 
Javascript :: nextelementsibling javascript 
Javascript :: %PDF-1.4 is response 
Javascript :: js group objects in array 
Javascript :: how to send the mail using node with template 
Javascript :: Update select2 after removing an element 
Javascript :: discord js embeded message hyperlink 
Javascript :: js reverse number 
Javascript :: Make Floating label TextInput in react native 
Javascript :: how to call a function in react with arguments onclick 
Javascript :: longitud objeto javascript 
Javascript :: how to format datetime in javascript 
Javascript :: javascript last in a list 
Javascript :: javascript array to string without commas 
ADD CONTENT
Topic
Content
Source link
Name
9+8 =