Changes

m
no edit summary
Line 111: Line 111:  
These lines define the URL of the server to which the temperature data will be sent and the payload data that will be sent with each request. The payload includes the '''‘sensor_id’''' and '''‘temp’''' variables, formatted as a JSON object.
 
These lines define the URL of the server to which the temperature data will be sent and the payload data that will be sent with each request. The payload includes the '''‘sensor_id’''' and '''‘temp’''' variables, formatted as a JSON object.
 
[[File:Networking trb user scripts cli code explanation6.png|left]]
 
[[File:Networking trb user scripts cli code explanation6.png|left]]
 +
 +
      Line 127: Line 129:  
=== Output ===
 
=== Output ===
 
[[File:Networking trb user scripts HTTP listener screenshot.png|left|800x800px]]
 
[[File:Networking trb user scripts HTTP listener screenshot.png|left|800x800px]]
 +
 +
 +