0.0.32 • Published 7 years ago

flows-gateway v0.0.32

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
7 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

7 years ago

0.0.31

7 years ago

0.0.30

7 years ago

0.0.29

7 years ago

0.0.28

7 years ago

0.0.27

7 years ago

0.0.26

7 years ago

0.0.25

7 years ago

0.0.24

7 years ago

0.0.23

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago