Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tendant/simhttp

Http test server, can be used for debugging file uploading and api requests
https://github.com/tendant/simhttp

Last synced: about 13 hours ago
JSON representation

Http test server, can be used for debugging file uploading and api requests

Awesome Lists containing this project

README

        

# simhttp

To start server in port 5000

lein ring server-headless 5000

To test file uploading using HTTP POST:

curl -X POST -F file=@ http://:5000

To test file uploading using HTTP PUT:

curl -X PUT -F [email protected] http://localhost:3000

## Prerequisites

You will need [Leiningen][] 2.0.0 or above installed.

[leiningen]: https://github.com/technomancy/leiningen

## Running

To start a web server for the application, run:

lein ring server

## License

Copyright © 2015 FIXME