I have a REST API for transferring records to the server written in Java with Spring Boot. I am trying the API through postman. The API is working fine in Linux Environment, however, in windows condition, it returns 400 Bad Request as a reaction. There is no adjustment in code in the two frameworks, as I am utilizing a similar container record in the two conditions.
The POST asks for comprising of a document connection in the frame information and a parameter userName. My API acknowledges the information in that organization as it were. I have checked the headers in the demand for both the machines and I am simply passing a solitary header Content-Type as application/json.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
geethasiri
Hi,
I have a REST API for transferring records to the server written in Java with Spring Boot. I am trying the API through postman. The API is working fine in Linux Environment, however, in windows condition, it returns 400 Bad Request as a reaction. There is no adjustment in code in the two frameworks, as I am utilizing a similar container record in the two conditions.
The POST asks for comprising of a document connection in the frame information and a parameter userName. My API acknowledges the information in that organization as it were. I have checked the headers in the demand for both the machines and I am simply passing a solitary header Content-Type as application/json.
Thanks and Regards
Sireesha.
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.