The API Request Code Generator is one of the free Developer Tools on MMS Tools: set a few options and generate ready-to-use output you can copy or download. It is free, needs no sign-up, and runs entirely in your browser — nothing you enter is uploaded or stored. This guide shows exactly how to use it, step by step.
How to use the API Request Code Generator, step by step
- Set the options: Method, URL, Headers (one per line, Name: Value) and Body (for POST/PUT/PATCH).
- Click “Generate code”. The output appears in the Output box.
- Click Copy output to copy the result, or Download to save it as request.txt.
Tips for using the API Request Code Generator
- If a tool reports an error in your input, the message names the exact problem — fix that spot and run it again.
- Keep an un-minified copy of your code for editing; minified output is for machines and production, not for reading.
- The API Request Code Generator runs entirely in your browser: nothing you type, paste or select is sent to a server, so it is safe to use with real and private material.
That is the whole process. The API Request Code Generator is free to use as often as you like — it is right here on this page whenever you need it.