diff --git a/library/prefabs/xano/components/xano-request/README.md b/library/prefabs/xano/components/xano-request/README.md index 712d3e1..a5670f5 100644 --- a/library/prefabs/xano/components/xano-request/README.md +++ b/library/prefabs/xano/components/xano-request/README.md @@ -9,6 +9,18 @@ This component is used to call Xano API endpoints. > Please note that [Xano Client](/library/prefabs/xano/components/setup-xanoclient/) needs to be set up in your app before you can properly use this component. +## Extracting the data + +The simplest way to extract the data from the response is by using an [Expression](/nodes/math/expression/) node, and accessing the body from the response: + +
+ +![](/library/prefabs/xano/extract-response.png) + +
+ +For more advanced extraction (and parsing) you can use a [Function](/nodes/javascript/function) node. + ## Inputs | Data | Description | diff --git a/static/library/prefabs/xano/extract-response.png b/static/library/prefabs/xano/extract-response.png new file mode 100644 index 0000000..80e19de Binary files /dev/null and b/static/library/prefabs/xano/extract-response.png differ