I’m frontender working with the migration of the Royal Danish Library’s OJS from 2.4 to 3.1.
Many of our hosted journals are looking forward to use the new build-in API, so I’m trying to figuring out how to make it work.
When I’m logged in as OJS Admin or Journal Admin I can access the API url directly in the browser like this:
I have a similar problem as nielsgamborg
I have an OJS installation (v 3.1.0.0) and when logged in I can call the REST service and get the issues list.
But if not logged in and using an API key I only get a 404 response.
I’m quite sure that I use the right URL, but perhaps I’m doing somethging wrong with the key.
I set the key in the OJS’s config.inc.php setting i.e.
api_key_secret = "lkjx$%fbg18594hjadslgikjbgiuh"
(I also tried simpler and shorter values)
and in my request