terrible_towel
2 years agoNew Contributor II
How do I extract data from an API, using a post request, with the HTTP Client snap?
Hi, The API owner demands I use a post request first, then get authorized by getting a user token and a cookie token, and only then I can do a get request to retrieve the data. I was able to configu...
- 2 years ago
Ah - its going to depend on the API itself. Likely NO account is required, since you've got a token you're going to pass in a header. I did this recently in an example with monday.com that required only a header being passed. For this, I used the "Secured Headers" type HTTP account, no schema (unless yours requires a specific schema), and just put the needed headers under "Additional auth headers".
HTTP Client Config:Secured Headers Account Type configuration: