HTTP Proxy
Forward a single http GET request via a proxy running on the device.
Forward a single http request via a proxy running on the device. Transparently forwards the provided GET request and proxies the response from the server as the proxy in the device receives it
get/sessions/{sessionId}/device/proxy/http/{targetHost}/{targetPort}/{targetPath}
Request
- Base URLhttps://api.us-west-1.saucelabs.com/rdc/v2
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sessionIdstring required
The id of the device session
targetHoststring required
Example:localhost
The target host to make the request to
targetPortstring required
Example:8100
The port the target host is listening on
targetPathstring required
Example:status
The path to make the request to. Can contain query parameters, which will be forwarded too.
Response
Command executed successfully
object required
Changes
No recorded changes to this operation across all 1 revision of this API.