Port a documentation cURL example to production JavaScript
- Paste the cURL command from the API docs (including any -H, -d, and -X flags) into the input field.
- Copy the fetch() output and paste it into your JavaScript file or browser console to verify the request succeeds.
- Build and test the full endpoint URL with URL Builder to confirm query parameters are properly encoded before adding it to the fetch call.