Slack JSON Api Proxy
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.env.sample
.gitignore
.travis.yml
README.md
index.js
package.json
qs.js
server.js

README.md

Build Status slack community

slack-json-proxy

Slack JSON Proxy will map your JSON payload to application/x-www-form-urlencoded

configure

update .env file

  PROXY_ENDPOINT=https://slack.com/api
  PORT=3000

start

npm start

test

npm test

How the mapping works ?

every path you request will be mapped to PROXY_ENDPOINT/path

 PROXY_ENDPOINT=http://slack.com/api   
 
 https://host/api/api.test  -> https://slack.com/api/api.test   
 https://host/auth.test    -> https://slack.com/auth.test