Contributions
Getting different error code for get and post
Hello I am working on an API Specification in Swagger which is behaving in an unknown manner. Request URL:https://api-de.test.com.au/v2/poc/quotes/12345/tc Request Type : GET Here 12345 is the id that needs to be passed to fetch info If ID is blank :https://api-de.test.com.au/v2/poc/quotes//tc I am not getting 404 Resource Not Found Wherein, I have created another API that has a similar type of URL but the API is of type POST, there the status code is returning 404. My question is why a similar type of URL is getting me a different status code for GET and POST.556Views0likes1Comment