Skip to content
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

http://localhost:8080/api/address => 400 #16

Open
cer opened this issue May 27, 2021 · 1 comment
Open

http://localhost:8080/api/address => 400 #16

cer opened this issue May 27, 2021 · 1 comment
Assignees

Comments

@cer
Copy link
Contributor

cer commented May 27, 2021

POST http://localhost:8080/api/address with request body

 {"address":"180 Rishell Drive","time":"22:10","origin":1622143097043}

=> 400 Bad Request

@cer
Copy link
Contributor Author

cer commented May 27, 2021

Surely, this should be application/json Content-Type: text/plain;charset=UTF-8

POST /api/address HTTP/1.1
Host: localhost:8080
Connection: keep-alive
Content-Length: 69
Content-Type: text/plain;charset=UTF-8
Accept: */*
Origin: http://localhost:5000
Sec-Fetch-Site: same-site
Sec-Fetch-Mode: no-cors
Sec-Fetch-Dest: empty
Referer: http://localhost:5000/
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants