Instructions ยท Fetch to Curl
- Open the HTML file in a modern browser. Review Security Check and select Continue.
- Paste one direct fetch call, select a UTF-8 .js or .txt file, or choose Open Sample.
- Use a full HTTP or HTTPS URL and literal values. Methods supported are GET, HEAD, POST, PUT, PATCH, DELETE and OPTIONS. The supported headers are Accept, Accept-Language, Content-Language, Content-Type, X-Note and X-Request-Id.
- Select Convert to cURL. Review any notes beside the command, then choose Copy Command or Download Command. The target shell is POSIX sh.
Convert one UTF-8 JavaScript Fetch call up to 128 KiB. The workbench reads literal source and creates command text on your device.