WebPagetest Forums

Full Version: Setting Custom Header with RESTful API
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In the UI of Web Page Test you can set a custom header (in advanced), but it doesn't appear that it is documented that you can do the same with the RESTful API. Is that a gap in the documentation or is that not possible via the API?

Thanks in advance,

Ray Pierce
Gap in the documentation. The UI uses the API itself. The easiest way to get the field name for cases like that is to just inspect the UI in dev tools and look at the form field name for the field in question ("customHeaders" in this case).
Reference URL's