Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.26 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.26 KB

umovme-callback-nodejs

Dependencies

Setup (how to run)

npm install
npm start

Supported Authentication Types

uMov.me Callback Options


Callback with no authentication

The below examples shows how uMov.me's callback could be sent.

Callback with no authentication

POST 'http://localhost:3000/callback/basic'
Headers:
  'Content-Type: application/x-www-form-urlencoded'
Body: data='{ "history" : { "id": 1234567 } }'

Callback with basic authentication

POST 'http://localhost:3000/callback/basic'
Headers:
  'Content-Type: application/x-www-form-urlencoded'
  'Authorization : Basic ENCRIPTED_HASH'
Body: data='{ "history" : { "id": 1234567 } }'

Callback with X-CSRF-Token authentication

POST 'http://localhost:3000/callback/mfa/xcsrf'
Headers:
  'Content-Type: application/x-www-form-urlencoded'
  'Authorization : Basic ${ENCRIPTED_HASH}'
  'x-csrf-token : ${XCSRF_TOKEN}'
Body: data='{ "history" : { "id": 1234567 } }'