The Request Content (CURL) tool provides the raw HTML for a URL, including request headers. You can run this operation for a specific location, an edge IP, or Site Shield map.
You can use this tool to:
- Verify if a user of the IP address can connect to a URL.
- Check request and response headers.
- Test the URL with interjected headers.
You can also use the compare results feature. It may help you identify the difference causing issues.
Learn how to submit a request for the Request Content (CURL) tool.
Currently, Request Content (CURL) doesn't support requests for origin hostnames. We're working on enabling these requests soon.
There are four possible combinations for submitting the request:
|1 URL and multiple edge server IP addresses. |
This verifies if a URL looks the same on different edge servers.
|1 URL and multiple locations. |
This verifies if a URL is displayed to users in different locations in the same way.
|Multiple URLs and a single edge server IP address. |
This verifies how multiple URLs look on the particular edge server.
|Multiple URLs and a single location. |
This verifies how multiple URLs are displayed to users from a particular location.
- The URL is the website you want to get the data for.
- Locations are cities closest to your users.
- Edge server IPs are IPs you want to get the URL's raw HTML from.
To submit a request:
Go to ☰ > SUPPORT > Edge Diagnostics.
In the side menu, select > Request Content (CURL).
Follow the steps for the preferred option:
1 URL option Multiple URLs option a) In the URLs field, enter one fully qualified URL you want to get a cURL response for.
b) Select whether you want to get data for multiple Locations or Edge server IPs. Enter up to 10 values.
a) Enter up to 10 fully qualified URLs you want to get a cURL response for.
b) Select whether you want to get data for Locations or Edge server IPs. Enter one value.
If you want to run cURL using the Site Shield map, select the Run from site shield map checkbox. When selected, Edge Diagnostics uses the entered location or edge server IP to find the Site Shield map for the URL's hostname and runs the tool using the map.
Optional: Into the Spoof to edge server IP field, enter the edge server IP you want to serve traffic from. To get this data, you can use User Diagnostic Data or Get Domain Details (DIG) tools' results.
Select the IP version for which you want to get the data.
Optional: Add a Request header to simulate user traffic and for debugging purpose. It needs to follow the format: Header: value. For example, User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36. Check this list of user agents for possible values.
- Click Add another header to add more request headers.
- To add Akamai Pragma headers, click Add Pragma headers. To learn more about Akamai Pragma headers, check Pragma headers.
What you should see
If you entered more than one URL and location or edge server IP, Edge Diagnostics divides your input; one request per URL/location or URL/edge server IP pair. All requests appear in the Recent requests table. Click in the table's corner to see only your requests.
Click your request’s row to check the results. If you see in the Actions column, it means, that your request could not be processed and you need to retry.
In the Response section, you can see the returned HTTP status code and returned Headers.
Headers contain the URL’s response headers. The most common response headers are:
- Server. The name for the response’s web server.
- Connection. Options for the current connection.
- Date. The RFC 2616 formatted date of this response.
- Expires. The RFC 2616 formatted date for when the request becomes stale.
- Content-Length. The number of bytes served.
- Content-Type. The content’s MIME type.
- Mime-Version. The MIME version.
For the full list of possible response headers, check HTTP headers.
The URL may also have additional Akamai response headers. It’s names and values depend on your products.
You can download the response body by clicking Download in the response Body section.
With the Compare results feature, you can compare the status and response headers for two requests. It may help you identify the difference in URL’s settings causing issues.
- Open the Request Content (CURL) tool.
- In the Recent requests table, select two requests and in the table's top corner, click .
What you should see
Edge Diagnostics compares the results for selected URLs. The differences in Status and Response headers are highlighted.
Updated 16 days ago