
If your Burp CA is trusted on your system, you may not require this step. This is the easiest and fastest way to prevent certificate trust issues when HTTPS traffic is proxied and re-signed with the self-signed Burp Certificate Authority (CA) from your Burp instance. You probably want to uncheck Validate certificates.Check the box to Enable proxy, so that Insomnia proxies.If you have an odd setup where you’re proxying through Burp on a different machine, then the IP and port will work in the form of 192.168.10.1:8080. In my case, you see localhost, corresponding to 127.0.0.1 through my /etc/hosts file.

Put your proxy interface into the HTTP Proxy and HTTPS Proxy text boxes.The ones you care about are annotated below. This will open a massive modal dialog full of options. With Insomnia open, browse to the Application -> Preferences dialog. Insomnia natively supports proxy configurations, allowing you to simply configure the proxy settings inside of it. If this is unchecked, the default port was probably in use when you started Burp, and you can either edit the listener to change the port, or stop the application that was using it and check the box.Īlso, go to the Intercept subtab and turn Intercept Off, unless you already have it off by default. Note that the Running checkbox is checked.Note the IP and port for your proxy interface – mine is 127.0.0.1 on port 8080.Default Settings are fine, unless you have some custom settings you already use. Start Burp and either create a Temporary Project if you’re just trying this out, or create one on disk if you’re starting an actual test. If not, then it’s available from the PortSwigger website. I’ll assume you installed Burp Suite already. In my case, I get a chunk of Lorem Ipsum text. Note that it shows the HTTP response code, response time, and size. It should be pretty obvious that it worked if you look in the right-side response pane in Insomnia. Enter the URL for the API endpoint, select the method if necessary, and click Send. I’m going to use an unauthenticated public API with a Lorem Ipsum generator for this demonstration. If you have an API that you’re getting ready to test, a simple request to it may do the trick. Give the request a name, and click Create.Īnd now you need a valid URL. To create the request, either press ctrl+n or click the plus with down-arrow icon on the sidebar and select New Request.


Launch Insomnia, and create a new request as seen below. Creating your first Requestīefore we set up our proxy, we want to have a test request ready to verify that it’s working. If you’re following along, get and install Insomnia whichever way suits you. It’s also available in some package managers and app stores, such as Snapcraft.io. If you want to contribute to the project, or would rather get the source, you can go to their GitHub repo. The main website for Insomnia is insomnia.rest, which has downloads for Windows, Mac, and Linux versions of the application.

We have a short video on Burp in our Professionally Evil fundamentals series –.
