foodsoft icon indicating copy to clipboard operation
foodsoft copied to clipboard

API - documentation and access

Open leomayer opened this issue 2 years ago • 0 comments

I follow the documentation of the doc/swagger.v1.yml and if I understand it correctly than e.g.

https://app.foodcoops.at/myFoodcop/api/v1/orders

should return 200 if I'm logged in. I test in a browser (Chromium) and I'm in another tab logged in. Nevertheless I get as response

{
"error": "invalid_token",
"error_description": "Der Access Token ist nicht gültig/korrekt"
}

meaning that the access token is invalid. What is wrong? Or what do I have to specify additionally in the API request?

leomayer avatar Jan 07 '23 13:01 leomayer