Remote Query Response Path: JSON & XML
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.
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 -
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 -