REST
Remote Query Response Path: JSON & XML
Remote Query Response Path: JSON & XML
Introduction
The Remote Query Block issue a REST call to a server.
You can parse the data returned by the call to store it into variable and specify the path in the dedicated field.
This is especially true for JSON.
JSON
If you Web Service returns JSON you need to start your Response Variable path with /json/ and continue with the other nodes.
For example, if your web services returns something like:
- Which is actually a JSON authentification response from Wordpress -
{"access_token":"SDHE4FSEY7WSDV","expires_in":"46253829750","token_type":"primary","scope":"ever","refresh_token":"SJCIE3SI62FSEC"}
Then you can configure your Variable and Path in your Remote Query Block as follow:

The values stored at the nodes described in the Path will be stored in the respective variables.
For example, the access_token from the JSON feed will be stored in a variable called access_token
- If these variables haven't been created before they will be created by the Remote Query Block -
For example, the access_token from the JSON feed will be stored in a variable called access_token
- If these variables haven't been created before they will be created by the Remote Query Block -