Files
replicate-jump-server/README.md
Carl Pearson 1e65340652 CURL examples
2025-05-30 05:43:04 -06:00

16 lines
400 B
Markdown

# 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
```