Reputation: 1039
I am trying to call REST API related to Azure Search through postman. Here is the API link: (Check Step 1: Create a data source)
https://learn.microsoft.com/en-us/azure/search/search-howto-indexing-azure-blob-storage
Have sent parameter api-key: [admin key] in form-data and other through jSON object.
I am getting 403 error.
Whats the correct way to get required output?
Update :
Changed position of api-key. Still getting the error as :
Is there any additional setting for postman to work with Azure's REST APIs?
Upvotes: 4
Views: 2730
Reputation: 136146
Please make sure that you pass api-key
in Headers
instead of form-data
and also all the headers should be selected. Once you do that, things should work just fine.
Upvotes: 5