Step 4: Deploy your proxy

In the previous step, you added an ExtensionCallout policy to your API proxy. Now, it's time to deploy the proxy so that you can try it out.

To deploy the proxy:

  1. Click the Deployment dropdown to deploy your API proxy to the "test" environment.
  2. Click the Trace tab.
  3. On the Trace tab, click Start Trace Session.
  4. Next to the proxy URL, click Send to send a request to your API proxy.
  5. Ensure that your test succeeded and that a 200 was received from the proxy.
  6. In Trace, step through until you reach the ExtensionCallout policy execution step.
  7. Under Phase Details, locate the ConnectorCallout.request property and note that its value is the contents of your <Input> element.

  8. Open the GCP console and navigate to your GCP project.
  9. From the main navigation menu, select Stackdriver > Logging > Logs.
  10. On the logs page, select the Resource dropdown on the left, then click Global.
  11. From the logs dropdown to the right, select "example-log".
  12. Your log entry should appear in the log list, as the following example shows:

Next step

Step 1 Step 2 Step 3 Step 4 Step 5: Log a message flow variable

Discussion