Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handler for Request not found #7209

Closed
MECLab-Michelle opened this issue Aug 28, 2019 · 3 comments
Closed

Handler for Request not found #7209

MECLab-Michelle opened this issue Aug 28, 2019 · 3 comments
Assignees

Comments

@MECLab-Michelle
Copy link

Describe the bug
I have an existing POST request to an external api. No changes have been made to the request since June. I tried executing the request today, but I'm now receiving a 404 with the error 'Handler for Request not found.'

To Reproduce
Steps to reproduce the behavior:

  1. Click SEND for an existing api request in postman
    Body = form data with three variables
    Headers = content type: application/x-www-form-urlencoded + 8 other temporary headers
  2. See error:

Handler for Request not found:
Request.HttpMethod: GET
Request.HttpMethod: GET
Request.PathInfo: [api url goes here]
Request.QueryString:
Request.RawUrl: [api url goes here]

Expected behavior
HTTP 200 response

App information (please complete the following information):

  • Postman Version [e.g. 7.5.0]
  • OS: [Windows 10 Enterprise]

Additional context
Able to send and receive a successful 200 OK response with the following in a simple python script.

request = requests.post(api_url, data={'APIKey': api_key, 'SurveyId': survey_id, 'FromResultId': from_result_id})

Is this due to the addition of temporary headers?
Why does postman think this is a GET request?

@MECLab-Michelle
Copy link
Author

Hi there,

Is there any update on this one? Do you need any more information. I'm still having the same issue and simply can't use postman to call this api.

Cheers,

@codenirvana
Copy link
Member

@MECLab-Michelle Can you try disabling "Automatically follow redirects" option in settings and check what's the status code of the API response? Is it a 301 or 302?

Possible duplicate of #4001.

@preethammavin
Copy link
Member

@MECLab-Michelle please let us know if the above step solved your problem? Closing the issue for now, feel free to reopen and comment if it is not solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants