Skip to main content

HTTP

The EyesOnIt REST API uses standard HTTP requests with JSON request and response bodies.

POST Requests

Use POST for operations that submit images, videos, searches, configuration, or stream-specific identifiers.

POST /process_image
Content-Type: application/json
Accept: */*

GET Requests

Use GET for read-only endpoints that do not require a request body.

GET /get_all_streams_info
Accept: */*

Response Handling

Check success first. When success is true, read the endpoint-specific payload from data.