Need steps to push and retrieve data using HTTP

I am Vijay Veera, from MicroSysLogic Technologies, India. We have deployed openRemote version 1.11.0 in my local linux ubuntu server (20.04). Let us assume IP address is 192.168.1.52. We have created one Asset and few attributes to push data and get data data remotely. We are unable to PUSH data using HTTP. We are getting following different errors 404, 405 and connection refuse

We have used following command to PUSH data

curl -k -X POST “https://192.168.1.52/api/master/event
-H “Authorization: Bearer $TOKEN”
-H “Content-Type: application/json”
-d ‘{“assetId”:“24I6sgpodwSxxtEwSyzdIt”,“variables”:{“humidity”:55}}’

We have used following command to GET data
curl -k -X GET “https://192.168.1.156/api/master/event?assetId=24I6sgpodwSxxtEwSyzdIt
-H “Authorization: Bearer $TOKEN”
-H “Content-Type: application/json”

Have you looked at the documentation on our HTTP API?

Within OpenRemote you either pull data using agents, or push using the APIs.
For pushing attribute values, you’d probably use one of these:

.
Link to the full documentation:

Hope this helps! :wink: