We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
POST /api/customer/show HTTP/1.1 HTTP/1.1 200 OK Content-Type: application/json { "id": "${request.body}", "name": "Name" }
http localhost:9999/api/customer/show id=1
POST /api/customer/show HTTP/1.1 Host: localhost:9999 User-Agent: HTTPie/1.0.3 Accept-Encoding: gzip, deflate Accept: application/json, */* Connection: keep-alive Content-Type: application/json Content-Length: 11 {"id": "1"} -------------------------------------------------------------------------------- HTTP/1.1 200 OK Content-Type: application/json Server: DeepfakeHTTP v6.4.2 (2022-01-23 14:42:00) Content-Length: 48 ETag: "85fffc49" { "id": "{"id": "1"}", "name": "Name" }
Response:
{ "id": "1", "name": "Name" }
What do I need to do, if I want to access the "id" key in the request body?
"id"
I tried "id": "${request.body.id}" but this returns "id": "undefined".
"id": "${request.body.id}"
"id": "undefined"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Dump
Request
Expectation
Response:
Question
What do I need to do, if I want to access the
"id"
key in the request body?I tried
"id": "${request.body.id}"
but this returns"id": "undefined"
.The text was updated successfully, but these errors were encountered: