question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QUESTION] How can I use response body path in JSON request body

See original GitHub issue

What is your question? I’m building a POST request with a JSON request body.

Trying to use { {Response}} + control + space doesn’t do anything. I can use ENV variables fine, but what’s the point of only parsing and using the response values in query params only?!?!

What is the context? image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:19 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
ortonomycommented, Jan 7, 2021

Please read the code of conduct.

Please leave.

1reaction
apisaintcommented, Jan 7, 2021

MOREOVER why do I have to create this template string in the address bar of the URL and then copy it over?!?! Seems like the template tag builder should work in JSON body?

Why so hostile? It’s against the repos Code of Conduct, please stop.

Also, you can, it’s done through a hotkey - CTRL+Space.

Not sure that this is supported, you can do it with a plugin though - but it’s a bit more. Perhaps we will see the support of before and after scripts like other tools! That said, I haven’t had much of a need for this though.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Read Json Response Body using Rest Assured?
Using these methods we can get an Object of type io.restassured.response.ResponseBody. This class represents the Body of a received Response.
Read more >
Need to pass a data from a json response to the subsequent ...
I need to pass a data from a json response to the subsequent request's Post Body data however it is not working, something...
Read more >
Request Body - FastAPI
A response body is the data your API sends to the client. ... To declare a request body, you use Pydantic models with...
Read more >
Describing Request Body - Swagger
The POST, PUT and PATCH requests can have the request body (payload), such as JSON or XML data. In Swagger terms, the request...
Read more >
Request and response objects - Django documentation
You can also read from an HttpRequest using a file-like interface with HttpRequest.read() or HttpRequest.readline() . Accessing the body attribute after reading ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found