Hi Wewebers !
I want to use the REST API plugin. But I’m stuck
First I need to get a token thought a GET (working in postman but not in weweb)
Loading... → Authentificate
And after I need to use the token in other endpoint as POST
Anyone can help me ? What’s the best way to do it ?
Thanks
Joyce
2
Hi @McRosbeef
I don’t quite understand what you’re trying to do. Can you share a screenshot of the Postman request that’s working?
From what I can see here, I would suggest the following:
- in the “URL” field, only paste the base URL of your API call (no query strings, no auth token)
- in the “Headers” section, use the “Add item” button to add the Authorization header
- in the “Query string” section, use the “Add item” button to add the query strings you need
If that doesn’t work, can you look at the error on the left, especially what’s inside the “response” object?