How to test an API running on localhost from outside localhost?

Sep 17, 2017 · 4 min read

What is ngrok?

Run your web service

Application in development on
ngrok http <port number>
Tunnel Status                 online
Update update available (version 2.2.8, Ctrl-U to update)
Version 2.0.25/2.1.18
Region United States (us)
Web Interface
Forwarding -> localhost:3000
Forwarding -> localhost:3000

The ngrok UI

Web Interface       

Testing the API

Step #1: Creating a graph

Step #2: The Config

configuration node

Step #3: The HTTP request

Step #4: Running the graph

Ngrok console after execution


If you have questions or comments, please let us know.


Written by


Automate integration tests fast and easy. It will take you less time than reading these lines 😀

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade