How to Generate Client Code
Access Code Generation Menu
Click the three dots next to the Save button, then select Copy As from the dropdown.

Choose a Programming Language
A modal opens with the generated code. Use the dropdown at the top left to switch languages.

Example Output
For aPOST https://api.example.com/users request with a JSON body and a Bearer token, here is what the generated code looks like per language:
- Shell - cURL
- JavaScript - Fetch
- Python - Requests
- Go - Native
- Java - OkHttp
- C# - HttpClient
- Swift - URLSession
- PHP - cURL
- PowerShell
- Ruby - net::http
Supported Languages
| Language | Library / Variant |
|---|---|
| C | libcurl |
| C# | HttpClient, RestSharp |
| Clojure | clj-http |
| Go | Native |
| HTTP | Raw HTTP message |
| Java | AsyncHttp, NetHttp, OkHttp, Unirest |
| JavaScript | Axios, Fetch, jQuery, XHR |
| Kotlin | OkHttp |
| Node.js | Axios, Fetch, HTTP, Request, Unirest |
| Objective-C | NSURLSession |
| OCaml | CoHTTP |
| PHP | cURL, Guzzle, HTTP v1, HTTP v2 |
| PowerShell | Invoke-WebRequest, Invoke-RestMethod |
| Python | Requests |
| R | httr |
| Ruby | net::http |
| Shell | cURL, HTTPie, Wget |
| Swift | URLSession |



