× Requests and support related to jBackend.

How do I specify the endpoint?

  • xengent
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #4938 by xengent
How do I specify the endpoint? was created by xengent
I'm using this URL which gets an article that is public:

mywebsite.com/index.php?option=com_jbackend&view=request&action=get&module=content&resource=articles&id=20

I have my Global Access Type set to "API". And I have a JBackend menu item (endpoint) that I created which is set to "Free".

The above link seems to be using the global configuration because when I set the Global config to "Free" it works fine, but when I set the Global config to "API" I get this:

{
"status": "ko",
"error_code": "REQ_AKR",
"error_description": "API key required"
}

How do I change the URL above to specify the Endpoint item that I created so I can use the "Free" setting on that endpoint while still keep the Global config to "API"?

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

  • xengent
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 11 months ago #4939 by xengent
Replied by xengent on topic How do I specify the endpoint?
Figured it out. It's "&Itemid=777". and it is case sensitive apparently.

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

More
8 years 11 months ago - 8 years 11 months ago #4940 by admin
Replied by admin on topic How do I specify the endpoint?
Hi,
I do not recommend to use the "global" endpoint (which settings are available in the component settings).

It is better to create a menu item (better into an hidden menu, it is not necessary to be visible) of kind "jbackend" and use it. Each menu item can have its own settings (in the menu item's options).

More info here:

www.selfget.com/documentation/jbackend-joomla30/initial-configuration.html

Kind regards,
Luigi
Last edit: 8 years 11 months ago by admin.

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

Time to create page: 0.156 seconds