mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 10:11:37 +03:00
2a38edecd4
1-to-1 translation of the HTTPBin expected by our testsuite using Java's HttpServer. Can be started from SBT via ``` sbt:enso> simple-httpbin/run <hostname> <port> ``` # Important Notes @mwu-tow this will mean we can ditch Go dependency completely and replace it with the above call.
19 lines
350 B
Markdown
19 lines
350 B
Markdown
# Simple HTTPBin
|
|
|
|
A simple HTTP Request/Response clone of [httpbin](http://httpbin.org) for
|
|
testing purposes.
|
|
|
|
## Usage
|
|
|
|
Simple HTTPBin can be compiled like any other SBT project i.e.
|
|
|
|
```
|
|
sbt> simple-httpbin/compile
|
|
```
|
|
|
|
To run, simply invoke the `main` method with the appropriate hostname and port:
|
|
|
|
```
|
|
sbt> simple-httpbin/run localhost 8080
|
|
```
|