Setup Hoppscotch
To get started, head to hoppscotch.io and start using it right away for free.
Locally served APIs
If you're using Hoppscotch to test your locally served APIs, it is reccomended that you install the Hoppscotch Browser Extension. Read the pre-requisites and follow the steps below to get started.
Pre-requisites
- Install the browser extension from the below links:
- Click on the Hoppscotch Browser Extension icon from browser toolbar and add a new origin as
http://localhost
orhttp://localhost:8000
as per your local server configuration. - Refresh the Hoppscotch Web App
- Open the interceptor and change the middleware to the browser extension
You can either go to the settings and enable the use of the browser extension as shown below:
Or you can open the interceptor menu and change the middleware as shown below:
Deployed APIs
To test your deployed APIs, you can use the Hoppscotch Web App without any additional setup.
Fix CORS errors
If your API is CORS
enabled, you should switch the interceptor to "Proxy" from Settings page or the bottom bar to avoid CORS
errors.
Proxy mode helps you to:
- Bypass
CORS
(Cross Origin Resource Sharing) restrictions - Hide your IP address
- Access APIs served in non-HTTPS (
http://
) endpoints - Use your own Proxy middleware URL
- Official proxy server is hosted by Hoppscotch - GitHub - Privacy Policy
Table of Contents