https://github.com/22a/caisson-client
Simple node client destined to talk to Caisson
https://github.com/22a/caisson-client
Last synced: 24 days ago
JSON representation
Simple node client destined to talk to Caisson
- Host: GitHub
- URL: https://github.com/22a/caisson-client
- Owner: 22a
- Created: 2017-02-18T09:30:33.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T18:39:30.000Z (about 9 years ago)
- Last Synced: 2025-01-12T13:52:30.759Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Caisson Client
A simple node client that posts things to the caisson endpoint. Because postman doesn't allow newlines in form data
## Setup
* clone the thing
* `yarn install`
## Usage
Edit the post contents in index.js
```bash
nvim index.js
```
Send the request: (put the ec2 instance that caisson's running on in an env var)
```bash
CAISSON_EC2_IP="X.X.X.X" node index.js
```