PyHiAPI - Simple test API
Project description
# pyhiapi A very simple API endpoint, easily deployable for testing purposes
## Installation
sudo pip install pyhiapi
## Usage
hiapi [-b <bind address>] [-p <port>]
-b, –bind-address: The interface you want to listen on -p, –port: The port you want to listen on
hiapi defaults to localhost:4000.
## Testing
You can just curl the service, perhaps like this:
$ curl -i http://localhost:4000/
HTTP/1.0 200 OK Content-Type: text/html; charset=utf-8 Content-Length: 4 Server: Werkzeug/0.9.6 Python/2.7.8 Date: Fri, 23 Jan 2015 03:38:14 GMT
Hi!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyhiapi-0.1.3.tar.gz
(1.5 kB
view details)
File details
Details for the file pyhiapi-0.1.3.tar.gz
.
File metadata
- Download URL: pyhiapi-0.1.3.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15db21a04139c15a509e870cdcb52340eba6e592ad1e5b7dfe22ee8468610521 |
|
MD5 | b3262e58f023eb9c0b36861d6f9cc5a5 |
|
BLAKE2b-256 | 46c5fa776e895a0c191bae21962ba91b0c5ea17f3dfbd039f7ededda9a9c5e71 |