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
Request sends Twice returns HTTP 500 Error #297
Comments
is this resolved? |
No, I switched to fetch API |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I send a POST request to a API server and the request sent 2 times. The initial request succeed because the records are inserted in the database then I get HTTP 500 response from the server. I have attached the error response and added the payload request. In the forms I have deleted the some of the inputs to make it readable here.
Debug Console
Preview Tab
Server Logs
[2022-06-30T16:34:27.114490+00:00] local.INFO: [RESPONSE] {"Status Code":500,"Content-Type":null}
[2022-06-30T16:34:27.115436+00:00] local.INFO: [RESPONSE] {"Status Code":200,"Content-Type":null}
Example code
Base URL
Endpoint
Form
Expected behavior
Expect only 1 request to be sent
Response of 200
Environment
Screenshots
The text was updated successfully, but these errors were encountered: