I'm getting HTTP 401 error when trying to access Policies API using Postman. I can list the Policies on the Tyk dashboard just fine.
The only difference I can see betwen the Policies API being called from the browser dashboard and from Postman is that in the case of browser dashboard, I see the following cookies being set.
Any idea what the problem might be? Is there any documentation on Policies API? I'm looking for the ability to create a Policy and specify my own human-readable policy id value instead of the UUID format returned by the Policy API.
GET /api/portal/policies HTTP/1.1
Authorization: Basic dGVzdEB0ZXN0LmNvbTp0ZXN0MTIz