| Description: |
The REST Interface returns the "X-GC-Status" Code in the HTTP Header of the Response. The value of "X-GC-Status" is also returned in the normal HTTP Status Code. You can decide which you want to process in your application.
|
| Codes: |
X-GC-Status: 200
CREATED: point was successfully added
X-GC-Status: 201
REMOVED: point was successfully removed
X-GC-Status: 401
NO_AUTH: authentication failed
please check if geocubes key and token are correct
X-GC-Status: 404
NOT_FOUND: can't remove point because no point with the given unique id was found
X-GC-Status: 406
NOT_ACCEPTED: request was not accepted
check if all required parameters has a value
X-GC-Status: 409
DUPLICATE: point with the given unique id already exists
X-GC-Status: 500
undefined error
|
| Complete response HTTP Header example: |
HTTP/1.1 401 Unauthorized
Transfer-Encoding: chunked
X-GC-Status: 401
Content-type: text/html
Date: Tue, 14 Jul 2009 16:05:03 GMT
Server: lighttpd/1.4.13
|