Closed jdeck88 closed 7 years ago
If you called that url exactly, there is no authentication information provided, so the unauthorized query is to be expected. You need to either have an accessToken in the url or pass the login cookies to the REST endpoint.
On Wed, Feb 8, 2017 at 7:15 AM, John Deck notifications@github.com wrote:
Assigned #29 https://github.com/biocodellc/biocode-fims-commons/issues/29 to @rodney757 https://github.com/rodney757.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/biocodellc/biocode-fims-commons/issues/29#event-953990363, or mute the thread https://github.com/notifications/unsubscribe-auth/ADwox51Soz4g8JhkMiU-ripBJ2GZN6RIks5radwPgaJpZM4L68RM .
Querying a private project and public expedition while logged in as one of the project users does not return results from the following query:
http://biscicol.org/biocode-fims/rest/projects/query/json?project_id=32&filter=BDGuiana
The above was tried while authenticated as ggi_admin and did not work. Briefly setting project status to "public" did make this query work, however,
Results are "unauthorized query" status code 403.