The elements of an HTTP GET response to a table collection
in an ObjectServer.
Table 1. Table collection services: GET response
Element |
Description |
Response headers |
- Server
- The name of the HTTPd engine.
- Date
- The date or time of the response.
- Connection
- The connection state of the connection. Possible states are Close or Keep-Alive.
|
Content-Type |
application/json |
Normal HTTP response codes |
- 200 (Created): The response body contains
a JSON success message.
|
Error HTTP response codes |
- 500 (Internal Server Error): The server
failed to complete the request due to an unexpected internal problem.
The response body contains the JSON error message with more information.
Other common HTTP error response codes are 401 (Unauthorized), 403 (Forbidden), and 406 (Not Acceptable).
|