Hello! Iβm trying to use POST method to add new info to API but have a problem with authorization.
Using API key in authorization I getting 401 error.
Could you please help? What can be the issue? And what can I do to avoid this error?
Hello! Iβm trying to use POST method to add new info to API but have a problem with authorization.
Using API key in authorization I getting 401 error.
Could you please help? What can be the issue? And what can I do to avoid this error?
Can you confirm the key name is βidβ or βtokenβ for your API value
How do you know that it should be id
?
Are you following some documentation for that API, if so, can you share a link to it.
I donβt know the implementation of that API but I wouldnβt expect that value to be id
.
https://api.affise.com/docs3.1/
It looks like the key is API-Key
which can be used in either the request header or in a query param.
https://api.affise.com/docs3.1/#add-advertiser
If you take the curl
at the top of the page and in Postman, open Import > Raw text
it will create the request for you. You just need to fill in the blanks.
Thank you Danny Dainton! You are the best! All is working!
@danny-dainton You deserved a medal