0.0.32 • Published 9 years ago

flows-gateway v0.0.32

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
9 years ago

#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

9 years ago

0.0.31

9 years ago

0.0.30

9 years ago

0.0.29

9 years ago

0.0.28

9 years ago

0.0.27

9 years ago

0.0.26

9 years ago

0.0.25

9 years ago

0.0.24

9 years ago

0.0.23

9 years ago

0.0.22

9 years ago

0.0.21

9 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.17

9 years ago

0.0.16

9 years ago

0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago