It’s very difficult to edit large JSON bodies for RESTQueries. See, for example, this query I’m building:
I have two ideas:
- a richer JSON editor that has tree navigation
- a JavaScript field like a Transformer, but for modifying the request before it goes out
I’ve started using the following pattern:
- create a Transformer named
fooBody
that returns the JSON object
- create a RESTQuery with the body
{{fooBody.value}}
justin
#3
Hey @jamesarosen! You’re definitely right. Two things that might help:
- You can click function + f11 to make this editor full screen
- You could use a JSON editor component, and then reference the value of that editor
1 Like
And building on (2), I could hide the component for end-users so they never see the payload. Nice!