How to Escape Double Braces in Raw JSON Request Body for an HTTP Action?

This topic was automatically generated from Slack. You can find the original thread here.

Hi there, in a HTTP request action, i need to send a raw json request body. Is there a way to escape (? not sure if that’s whats needed here tbh), a double brace?
I had to add a third brace at the end of this, for the request to work correctly, even though it should only have a 2 closing braces

Hi , may I ask what is the sample response you’d like to have?

Maybe you can try:

{"order": {"id": "{{steps.trigger.event.headers.order_id}}"}, "tags": "Invalid in-box referral"}

Hi . don’t need a response beyond 200 OK, I’m not sure I can close the brace after the id value unfortunately as it doesn’t follow the documentation of updating an order in the shopify api

It’s not a problem per se if theres a 3rd brace at the end, as the request works that way. I suppose I’m more wondering if that may fail in the future, if you believe this to be a bug, and may change how it gets parsed in the future

Hi , I’m not sure I understand what you mean and what you want. If you’re using Shopify, Pipedream has builtin Shopify actions that you can try, or you can submit a ticket here to request for a new action