Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 1 month ago
JSON representation
Http test server, can be used for debugging file uploading and api requests
- Host: GitHub
- URL: https://github.com/tendant/simhttp
- Owner: tendant
- Created: 2015-08-02T07:20:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-02T07:23:33.000Z (over 9 years ago)
- Last Synced: 2024-10-12T13:31:21.906Z (2 months ago)
- Language: Clojure
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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