Hello Stack Overflow community,
I’m encountering an issue with my POST API. When I send an empty body to the API, it reaches the server and I get an error response. However, when I send a JSON payload, the request doesn’t seem to reach the server, and Postman just keeps showing that it’s sending, but no response is received.
Here are the details of the issue:
Endpoint: [Your API endpoint]
HTTP Method: POST
Behavior when sending an empty body:
The request reaches the server.
The server returns an error response as expected.
Behavior when sending a JSON payload:
The request does not appear to reach the server.
Postman shows that the request is sending indefinitely.
No response is received.
I’m facing this issue so i need any solution.