Access keys ----------- Create a Planviewer API access key, and for all server-side requests provide the user and password as HTTP basic auth parameters. These credentials identify the application for which these requests are made. .. http:any:: https://www.planviewer.nl/maps_api/v2/server .. http:any:: https://www.planviewer.nl/product_api/v1 :reqheader Authorization: Base64 user and password separated with ':' as per HTTP standard. **Example request:** Given API acces key ``47e7df66f957`` and secret ``cynaivrjre``: .. sourcecode:: http POST /maps_api/v2/server/viewers Host: planviewer.nl Accept: application/json Authorization: Basic NDdlN2RmNjZmOTU3OmN5bmFpdnJqcmU= Or using curl: .. sourcecode:: shell $ curl https://planviewer.nl/maps_api/v1/server/map -u 47e7df66f957:cynaivrjre **Example response**: .. sourcecode:: json { "error": { "code": 401, "message": "Unauthorized" } }