Instructions ยท Fetch to Curl

  1. Open the HTML file in a modern browser. Review Security Check and select Continue.
  2. Paste one direct fetch call, select a UTF-8 .js or .txt file, or choose Open Sample.
  3. 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.
  4. 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.