Closed NooneXe closed 2 years ago
There is no empty line between request line and headers
POST http://localhost:8080/create
content-type: application/json
{
"field1" : "and its value"
}
POST http://localhost:8080/create content-type: application/json { "field1" : "and its value" }
@AnWeber is right, remove the blank line between request line and headers
I have following rest service in java spring
I can successfully send the obj json with curl and hoppscotch(similar to postman)
same request made with hoppscotch also works
but this request
made from vscode rest client does not works.
in spring terminal, I get follwoing:-