CURL examples

This commit is contained in:
Carl Pearson
2025-05-30 05:43:04 -06:00
parent b4594ceec1
commit 1e65340652

View File

@@ -1,3 +1,15 @@
# replicate-jump-server
A temporary staging area to provide image URIs to the replicate.com API
## Testing with CURL
```bash
curl -X POST http://localhost:8080/upload \
-H "Authorization: Bearer your-secret-bearer-token" \
-F "image=@/path/to/image.jpg"
curl -X GET http://localhost:8080/image/{id} \
-H "Authorization: Bearer your-secret-bearer-token" \
--output retrieved-image.jpg
```