You can interpolate in path, URL parameters, headers, and the body.
For example, this interpolates user_name into a JSON request body:
In this last step, you can optionally configure permissions, timeouts, and run constraints. These settings are optional.
That's it! Finish the task creation wizard and you have a shrinkwrapped task for safely making REST requests.
When constructing a JSON body with parameters, you should quote the parameter if it needs quoting (e.g. string-type). For number types and booleans where the value should not be quoted, the parameter should also not be quoted.
// Example JSON body.
// location is a string and should have quotes.
// count is a number and should NOT have quotes.
Note that if you are ending a JSON object with a parameterized value, you should separate the double ending curly brace of the parameter from the single ending curly brace of the object, otherwise the body will not parse: