Shopify Flow adds support for liquid filters url_encode and json in HTTP actions

Published

This summary was written by ShopDigest AI from Shopify Changelog’s report. Read the full story ↗

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_encode…

Overview

Shopify Flow now supports two new liquid filters, url_encode and json, for use in HTTP action configurations. These filters help secure HTTP requests by properly encoding variables in URLs and request bodies. Merchants and developers can apply them to template variables to ensure data is transmitted safely.

Key Details

  • url_encode filter can be applied to liquid variables in the path section of the HTTP action URL field.
  • json filter can be applied to template variables in the body section of the HTTP action body field.
  • The receiving web server must support URL decoding or JSON decoding for these filters to work.
  • Examples and further guidance are available in the Shopify Help Center.

About this story

Published
18 Feb 2021
Originally published at