Cannot get Tyk policy using curl in open source gateway

Hi,

I am using the Tyk Open Source Gateway. I downloaded it from Github (GitHub - TykTechnologies/tyk-gateway-docker: Official docker build for Tyk) and run it using Docker. It has the Tyk gateway and Redis.

However, when I tried to use curl to check the policy, like "curl -X GET http://localhost:8080/tyk/policies -H ‘x-tyk-authorization:foo’ ", it showed ‘404 page not found’.

Anybody know how to use curl to get the policy in Tyk gateway?

Thanks.

Regards,

Maan Tarng

Yes, it works with version 4.1.x and above. However, that version is still in beta but you can use the latest release candidate v4.1.0-rc10.

@Olu Thanks for your help and information!