0.0.32 • Published 8 years ago
flows-gateway v0.0.32
#Introduction
##Getting Started
To run in development mode:
npm run start
##Flow
curl -v http://localhost:8000/api/hi
: Returns 401 Unauthorized
curl -X POST -v http://localhost:8000/oauth/token -d "client_id=thom&client_secret=nightworld&grant_type=password&username=thomseddon&password=nightworld"
: Succesfully used the user/password. Returns access_token
curl -H "Authorization: Bearer 016ad346366ff652b01f033d65ab3efcc2ab73f2" -v http://localhost:8000/api/hi
: Successfully makes API call
curl -X POST -v http://localhost:8000/oauth/token -d "client_id=thom&client_secret=nightworld&grant_type=authorization_code&code=n2cyt78bvyf2c8hd72"
: Succesfully used the authorization code. Returns access_token
http://localhost:8000/oauth/authorize?client_id=thom&client_secret=nightworld&redirect_uri=http://localhost:8000/_oauth/do&response_type=code
curl -X POST -v http://localhost:8000/oauth/token -d "client_id=thom&client_secret=nightworld&grant_type=authorization_code&code=f6da7b6976bbf270eeb9319b566305783ba453fa"
0.0.32
8 years ago
0.0.31
8 years ago
0.0.30
8 years ago
0.0.29
8 years ago
0.0.28
8 years ago
0.0.27
8 years ago
0.0.26
8 years ago
0.0.25
8 years ago
0.0.24
8 years ago
0.0.23
8 years ago
0.0.22
8 years ago
0.0.21
8 years ago
0.0.20
8 years ago
0.0.19
8 years ago
0.0.17
8 years ago
0.0.16
8 years ago
0.0.15
8 years ago
0.0.14
8 years ago
0.0.13
8 years ago
0.0.12
8 years ago
0.0.11
8 years ago
0.0.10
8 years ago
0.0.9
8 years ago
0.0.8
8 years ago
0.0.7
8 years ago
0.0.6
8 years ago
0.0.5
8 years ago
0.0.4
8 years ago
0.0.3
8 years ago
0.0.2
8 years ago
0.0.1
8 years ago