-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API Key on POST requests - no effect? #131
Comments
Hello! There is a configuration file in the plugins/API/name of your api folder, where you can set the permissions, specifically the line
where you can set it as private to force bearer key input . More info here link: Techjoomla api documentation I hope this helps! |
@asierraserna Thanks very much for the response. |
Hello! This is an example I have: You can see there, I got error since I am not passing an Autorisation Header. I my code for this api plugin, it looks like this:
So I actually have it commented. What I mean with this is, add the line if you want to make it public, remove the line to make it private. I believe everything is Private by default, and then you need to add the line to make it public. Here is much better explained: I hope it helps! |
@asierraserna This is it! Just tried to uncomment this line. It seems to work. Thank you very much. |
Not sending a/the Bearer Authorization token on Post request does not seem to block the request. Is this a bug or a feature?
The text was updated successfully, but these errors were encountered: