Network Requests and Responses
Often, you may want to access a website’s internal API or pull an authorization token from a page. This can be done with Simplex’s network handling functions.
Network Request Overview
If you navigate to a legacy web portal, open the Network tab in Chrome Developer Tools, then reload the page, you might see something like this:
Network requests and responses on a legacy web portal. Click to expand.
The network requests are highlighted in red, and the response (omitted for privacy) is highlighted in green.
This is the website’s internal API, and it contains information that can be useful.
We’ve seen customers use websites’ internal APIs to pull information that they then
Network Request Functions
To pull the response from a network request, you can use the get_network_response
function with the request’s URL.
You can find the URL of the network request by clicking on the network request in the Network tab of Chrome Developer Tools and viewing the Headers panel.
Network request URL in Chrome Developer Tools. Click to expand.