Skip to content

Project showing how to build a callback end-point to integrate with uMov.me

Notifications You must be signed in to change notification settings

umovme/umovme-callback-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 } }'

About

Project showing how to build a callback end-point to integrate with uMov.me

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published