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

receiving HTML as response instead of JSON when sending POST request from lost form #9

Open
chandel-aman opened this issue Feb 4, 2023 · 2 comments
Assignees
Labels
bug Something isn't working diversion2k23 help wanted Extra attention is needed

Comments

@chandel-aman
Copy link
Owner

It works well on local host but throws an error of 500 and a HTML response instead of JSON response ext host.
There might be some problem with the "multipart/form-data" content-type which is being send as a POST request.

image

@chandel-aman chandel-aman added bug Something isn't working help wanted Extra attention is needed diversion2k23 labels Feb 4, 2023
@chandel-aman chandel-aman pinned this issue Feb 4, 2023
@Urmi-Jana
Copy link
Contributor

Urmi-Jana commented Feb 6, 2023

I would like to work on this issue
Can you point out the file in which the concerned POST request is being sent?

@chandel-aman
Copy link
Owner Author

I would like to work on this issue
Can you point out the file in which the concerned POST request is being sent?

The POST request is being sent from the lostForm.js file.
The path is:
frontend/src/pages/LostForm.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working diversion2k23 help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants