400 Bad Request on POST /api/v7/oauth2/token #16 PaulS: You get that because your code, that you posted only a small snippet of, sent a request to some undefined server, to execute a script that may or may not exist, and the server couldn't do what you requested. Try clearing browser cache or accessing from a different network to see if issues persist. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site Could use a little bit of help here since I cannot see whats going . Do this in Windows by executing this command from a Command Prompt window: ipconfig /flushdns This is not the same as clearing your browser's cache. ensure the file name extension, such as .jpg, is present). unexpected 400 bad request response - SmartBear Community How to use REST API login POST Version 3 ]" Any one got the solution on this tried same request in postman even there also i see same issue as 400 bad requ. If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. Here are a handful of tips to try on the browser or device that is giving you problems . In your backend code, you use the request.form to access a form object, whereas you don't have a form on your frontend page. Support. POST Request in Postman - Javatpoint 400 Bad request - plain HTTP request sent to HTTPS port Since we launched in 2006, our articles have been read more than 1 billion times. The following headers are supplied in both SoapUI and other API Testing tool: Content-Type: application/json.