Shopify Flow adds support for liquid filters url_encode and json in HTTP actions
To ensure your HTTP requests are as secure as possible, we’ve added two liquid filters to be used in an HTTP action:
- You can now use
| url_encodeto any liquid variables in the path section of the HTTP action URL configuration field. The web server that receives the request must support decoding urls.
- Add either
| jsonto each template variable that is used in the body section of the HTTP action body configuration field. The web server that receives the request must support decoding URLs or JSON decoding.
Learn more about using these filters to improve your HTTP request security and find examples from the Shopify Help Center.