Files
kiskaadee fc0908300e feat(api): add dummy FastAPI download endpoint
- Set up FastAPI app with Pydantic validation for magnet URIs and IMDb IDs
- Configure CORSMiddleware to allow cross-origin browser extension requests
- Include curl request specification and UV project configuration
2026-09-25 16:44:53 -05:00

7 lines
203 B
Plaintext

curl -X POST http://localhost:8000/download \
-H "Content-Type: application/json" \
-d '{
"magnet": "magnet:?xt=urn:btih:1234567890abcdef1234567890abcdef12345678",
"imdbid": "tt1234567"
}'