Geocache API Documentation

Endpoint

POST /geocache/{GC-Code}

Request

HTTP Method

POST

Host

api.litael2.ch

Headers

  • Accept: application/json
  • Content-Type: application/json

Body

The request body should contain the code as JSON.

{ "code": "your_code" }

Response

The response is returned in JSON format.

{ "cords": "{result}" }

Errors

If an error occurs, an appropriate response is returned:

{ "error": "Invalid request" }