Example of a Remote API for integration with iPaaS solutions
-
Clone this repo
https://github.com/ngrok/ngrok-ipaas-example.git
-
Install and launch app: npm install npm run app
-
Sign Up for a free ngrok account and get an access token
-
Add the access token to your ngrok client:
ngrok --authtoken=<your_access_token>
-
Launch ngrok pointing to enable remote access to your sample api:
ngrok http 3000
-
Optionally, add basic authentication to restrict access (replacing
userId
andpassword
with strong credentials of your choice):ngrok http 3000 --auth=userId:password