Spaces:
No application file
No application file
Download docs/examples/rest-api/deploy.mdx from rajesh1501/embedchain: direct link, hf CLI and curl.
- Browser
- Download file 297 Bytes
-
https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/docs/examples/rest-api/deploy.mdx
- Command line
-
hf download hf://spaces/rajesh1501/embedchain/docs/examples/rest-api/deploy.mdx
-
curl -L -o deploy.mdx https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/docs/examples/rest-api/deploy.mdx
297 Bytes
| openapi: post /{app_id}/deploy | |
| <RequestExample> | |
| ```bash Request | |
| curl --request POST \ | |
| --url http://localhost:8080/{app_id}/deploy \ | |
| -d "api_key=ec-xxxx" | |
| ``` | |
| </RequestExample> | |
| <ResponseExample> | |
| ```json Response | |
| { "response": "App deployed successfully." } | |
| ``` | |
| </ResponseExample> | |