Why am I getting request method GET not supported?

committedandroider picture committedandroider · May 1, 2015 · Viewed 9.3k times · Source

I am using PostMan as a REST client to test this API method Cisco ACL Analysis API. specifically POST /acl/trace or getAClTracksStd (first go to Policy Analysis)

Here is my PostMan HTTP test callenter image description here

Does anyone who is familiar with PostMan understand why I am getting this "Request method 'GET' is not supported" error from the server? I am making a POST HTTP request, not GET.(Selected from Drop down menu) It make more sense for me to get a input invalid parameter error or something.

Just to show that the endpoint url works, heres a HTTP test request that works enter image description here(same link, host->host API -> GET /host/{startIndex}/{recordsToReturn}

Answer

Brett Tiller picture Brett Tiller · May 1, 2015

There's two issues that I'm seeing with your REST call. First, the error you're seeing is because the call needs to be preceded by "https://". Second, remove the interface IDs parameter and values. You should get a response with data after making these changes.