2.6 KiB
How to Run Generated Code for a Programming Language
Choose your programming language/library from the list provided below to learn more how you can execute them:
- cURL
- C (libcurl)
- C# (HttpClient)
- C# (RestSharp)
- Dart (http)
- Dart (dio)
- Go (net/http)
- JavaScript (axios)
- JavaScript (fetch)
- node.js (JavaScript, axios)
- node.js (JavaScript, fetch)
- Java (asynchttpclient)
- Java (HttpClient)
- Java (okhttp3)
- Java (Unirest)
- Julia (HTTP)
- Kotlin (okhttp3)
- PHP (curl)
- PHP (guzzle)
- PHP (HTTPlug)
- Python (requests)
- Python (http.client)
- Ruby (faraday)
- Ruby (net/http)
- Rust (hyper)
- Rust (reqwest)
- Rust (ureq)
- Rust (Actix Client)
- Swift
Please raise a GitHub issue in case any instruction is not clear or if it is not working.
cURL
TODO
C (libcurl)
TODO
C# (HttpClient)
TODO
C# (RestSharp)
TODO
Dart (http)
TODO
Dart (dio)
TODO
Go (net/http)
TODO
JavaScript (axios)
TODO
JavaScript (fetch)
TODO
node.js (JavaScript, axios)
TODO
node.js (JavaScript, fetch)
TODO
Java (asynchttpclient)
TODO
Java (HttpClient)
TODO
Java (okhttp3)
TODO
Java (Unirest)
TODO
Julia (HTTP)
TODO
Kotlin (okhttp3)
TODO
PHP (curl)
TODO
PHP (guzzle)
TODO
PHP (HTTPlug)
TODO
Python (requests)
TODO
Python (http.client)
Here are the detailed instructions for running the generated API Dash code in Python using http.client
:
1. Install Python:
Check out the instructions here for detailed steps on how to install Python on macOS, Windows, or Linux.
2. http.client
is a built-in library:
Unlike other Python libraries (like requests
), http.client
is part of Python's standard library. You can directly use it without any additional installation steps.
3. Execute the generated code:
Check out the instructions here for detailed steps on how to run the code.
Ruby (faraday)
TODO
Ruby (net/http)
TODO
Rust (hyper)
TODO
Rust (reqwest)
TODO
Rust (ureq)
TODO
Rust (Actix Client)
TODO
Swift
TODO