× Requests and support related to jBackend.

API Key

  • crossini
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago #4972 by crossini
API Key was created by crossini
Buon giorno Luigi,

ho visto che abilitando come acces type "API Key" nel menu, piuttosto che "Free" quando io chiamo
l'API, ad esempio:

develop.gestlive.ch/backapp/post/user/login?username=testapi&password=123456

non cambia nulla.
Come funziona l'uso delle API key? Puoi fare un esempio.

Grazie

Please Log in or Create an account to join the conversation.

More
8 years 10 months ago #4973 by admin
Replied by admin on topic API Key
Hi,
if the endpoint has "API Key" enabled you MUST add api_key=XXX in each request otherwise you will get:
{
  "status": "ko",
  "error_code": "REQ_AKR",
  "error_description": "API key required"
}

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.119 seconds