-
Notifications
You must be signed in to change notification settings - Fork 0
API Docs
phonzay1 edited this page Jan 22, 2025
·
20 revisions
200, list of bins: JSON object array ex. [{"random_id":"abcd123"}, {"random_id":"bcde123"}]
200, string (returns a 7-character random string)
201, JSON object with new bin data ex. {"random_id":"abcd123"}
200, {random_id: string, requests: Array<{id: number, method: string, path: string (ex. '/spork45?name=bob&age=30'), headers: Object, body: Object || null, date: string, time: string}>
204
Do we need a separate API endpoint for this? Request items info is being sent w/ the bin (see GET /api/bins/:id above). Request items are created when a POST request is sent to the bin receiving URL.