Hi
I am trying to get events from the next API:
http://{host}:{port}/api/events/{id}
my device id is 3 and I test many times with different formula as below
http://{host}:{port}/api/events/3 ===> Bad request NullPointerException (EventResource: 28 < ...)
http://{host}:{port}/api/events/{3} ===> 404 Not Found For input string: "{3}" - NumberFormatException (...)
http://{host}:{port}/api/events/id=3 ===> 404 Not Found For input string: "id=3" - NumberFormatException (...)
How can I solve this?
Can you please provide documentation link where you found this API format.
Actually the first option is correct. The error indicates that event with that id not found.
Hi
I am trying to get events from the next API:
my device id is 3 and I test many times with different formula as below
How can I solve this?