Return:
HTTP/1.0 <HTTP code> <HTTP text>\r\n
with the following HTTP code and meanings
HTTP code HTTP text Description
200 OK The request has succeeded, but an application error
can still occur, which will be returned as an
application error code.
204 No Content The server has fulfilled the request, but there is no
new information to send back.
400 Bad Request The request had bad syntax or was inherently
impossible to be satisfied.
401 Unauthorized The request requires user authentication or the
authorization has been refused.
404 Not Found The server has not found anything matching the
request.
409 Conflict The request could not be completed due to a conflict
with the current state of the resource.
500 Internal Error The server encountered an unexpected condition
that prevented it from fulfilling the request.
503 Service Unavailable The server is unable to handle the request due to
temporary overload.
Example: request includes invalid file names.
HTTP/1.0 404 Not Found\r\n
5 API GROUPS
To m ake it ea sie r f or dev elo per s t o ge t a n i dea of wh ich API re que sts ar e s upp orte d f or dif fer ent pr o ducts, the
Komentarze do niniejszej Instrukcji