Search code examples
httphttp-posthttpwebrequest

400 bad request when trying to submit a POST request


I'm applying to a job and the way they ask their applicants to send in a resume is through api. The directions ask:

Submit a POST request to our careers endpoint with a raw JSON request body:

Here is the json:

POST https://contact.website.com/jobs


{
  "name": "Jane Applicant",
  "email": "jane@hotmail.com",
  "resume": "www.linktoresume.io",
  "github": "github.com/jane", 
  "twitter": "@jane", 
  "website": "jane.com" 
}

I used postman and chose post as the request then put in the correct url. I created keys and values for all of the fields they expected but I get a 404 bad request when I try to submit. Not sure what I'm doing wrong.


Solution

  • Ensure you've set the POST request format to JSON:

    enter image description here