Test site changes
Now that your sandbox is up and running, you can use it to test changes to your site delivery options. In this example, you'll modify the request hostname for your sandbox. To complete this step, you must have the sandboxID
for an existing sandbox.
-
GET your sandbox.
GET /sandbox-api/v1/sandboxes/{sandboxId}
-
Modify the
requestHostname
in the JSON body. -
Make a PUT request to update your sandbox.
PUT /sandbox-api/v1/sandboxes/{sandboxId}/properties/{sandboxPropertyId}
-
Confirm that the behavior changes were applied as expected.
curl http://localhost:{connector_port} -H"Host: {requestHostnameForSandbox}"
For example:
curl http://localhost:9090 -H"Host: www.example.com"
Updated 6 months ago
Did this page help you?