× Requests and support related to jBackend.

api_key header Authorization

  • Bubbleboy
  • Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 11 months ago - 6 years 11 months ago #6466 by Bubbleboy
api_key header Authorization was created by Bubbleboy
Can I just check not making a foolish mistake. I seem to have everything working under my own steam and I've added keys.
In every instance for GET and also POST in the JSON body I have these working but for some reason adding to the header is not working for me. The postman collection doesn't include examples and I do appreciate this is quite low level

ive added
Authorization

Am I correct in thinking the key should be api_key<key> with no space Or additional
Last edit: 6 years 11 months ago by Bubbleboy.

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

More
6 years 11 months ago #6468 by admin
Replied by admin on topic api_key header Authorization
Hi,
as described here:

www.selfget.com/documentation/jbackend-joomla30/keys.html

The api key should be added as follow:

Adding api_key=<KEY> to the query params (for GET requests);
Adding api_key=<KEY> to the payload (for POST requests);
Adding api_key: <KEY> to the JSON payload (for JSON POST requests);
Adding Authorization: api_key <KEY> to the headers (in any case).

Kind regards,
Luigi

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

Time to create page: 0.164 seconds