This repo demonstrates how to make an HTTP request in several languages. There are more than one example for some languages such as JavaScript on Node.js, because there are popular third-party libraries that make making HTTP requests simpler.
One of the languages with the simplest way to make an HTTP request is Groovy, in which you can make a request like this:
"https://httpbin.org/anything".toURL().getText()
The following languages have examples:
- Clojure
- CoffeeScript on Node.js
- C#
- RestSharp
- System.Net
- Dart
- Elixir
- Erlang
- F#
- RestSharp
- System.Net
- Go
- Groovy
- Haskell
- Java
- Apache HTTP Components
- java.net
- Retrofit
- Vert.x Web Client
- JavaScript on Node.js
- axios
- request-promise
- Kotlin
- Nim
- Python
- Racket
- Ruby
- Scala
- akka-http
- asynchttpclient
- http4s
- play-ws
- scalaj-http
- sttp
- TypeScript on Node.js
- request-promise