Skip to main content
dubinity

Developer & Web

API Request Builder

Build an HTTP request and get it as cURL, fetch, Axios, Python requests or PHP - or paste a cURL command to convert it.

  • Runs in your browser
  • Works on mobile
  • In: TEXT
  • Out: CODE
Loading the tool…

Your files and text are processed on your own device, inside this page. Nothing is uploaded to Dubinity or stored, and closing the tab discards it. How privacy works

About API Request Builder

Set a method, a URL, headers, a body or form fields, basic auth and a timeout, and read the same request back as a cURL command, a JavaScript fetch call, an Axios call, Python requests or PHP cURL.

It also works the other way round: paste a cURL command - including the long one your browser's network tab copies, in the bash or the Windows cmd flavour - and it becomes an editable request you can re-export in any of the five. Options that only change curl's own output are ignored, and anything that cannot be translated is listed as a note rather than dropped silently.

The tool writes code; it never performs the request, so a token or password you type stays in your browser.

How to use it

  1. 1Paste a cURL command, or fill in the method, URL and headers
  2. 2Add a JSON body or form fields if the request needs one
  3. 3Pick an output language and copy the code

Questions

Was this tool helpful?

All developer tools
  • Webhook Tester

    Get a temporary URL, send a webhook to it and see exactly what was sent: method, headers, query and body.

    NONE
    Server lookupOpen tool
  • JWT Decoder

    Read a JSON Web Token's header and payload, with expiry in plain language and optional HMAC verification.

    JWT
    Runs in your browserOpen tool
  • JSON Formatter

    Format and indent JSON, or minify it, with exact error positions and big numbers kept as written.

    JSON
    Runs in your browserOpen tool
  • HTTP Header Viewer

    See every response header a URL returns, with what each one does and a security header audit.

    URL
    Server lookupOpen tool
  • Password Generator

    Create strong random passwords with the character rules a site demands, and see the real entropy.

    NONE
    Runs in your browserOpen tool
  • What Is My IP

    See the IP address our server sees, the rough location attached to it and what your browser sends.

    NONE
    Server lookupOpen tool