Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 593 Bytes

API.md

File metadata and controls

29 lines (21 loc) · 593 Bytes

API - Get through a GET / POST Request

GET:

https://medalbypass.vercel.app/api/clip?url=<Url of Medal Clip>
https://medalbypass.vercel.app/api/clip?id=<ID of Medal Clip>

POST

curl -X POST \
  -H "Content-Type: application/json" \
  -d '{"url":"<your-clip-url>"}' \
  https://medalbypass.vercel.app/api/clip
'{"url":"<your-url>"}' can be replaced with '{"id":"<your-clip-id>"}'

RESPONSE (JSON)

{
  "valid": true/false,
  "src": "<MEDAL CLIP MP4 URL>"   *IF VALID
  "reasoning": "<REASON FOR ERROR>"   *IF INVALID
}
By Tyson3101