Spaces:
No application file
No application file
Download docs/examples/rest-api/get-data.mdx from rajesh1501/embedchain: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/docs/examples/rest-api/get-data.mdx
- Command line
-
hf download hf://spaces/rajesh1501/embedchain/docs/examples/rest-api/get-data.mdx
-
curl -L -o get-data.mdx https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/docs/examples/rest-api/get-data.mdx
376 Bytes
| openapi: get /{app_id}/data | |
| <RequestExample> | |
| ```bash Request | |
| curl --request GET \ | |
| --url http://localhost:8080/{app_id}/data | |
| ``` | |
| </RequestExample> | |
| <ResponseExample> | |
| ```json Response | |
| { | |
| "results": [ | |
| { | |
| "data_type": "web_page", | |
| "data_value": "https://www.forbes.com/profile/elon-musk/", | |
| "metadata": "null" | |
| } | |
| ] | |
| } | |
| ``` | |
| </ResponseExample> | |