From fb7fab371f5b6f32ba2135e61af14965be7f00c6 Mon Sep 17 00:00:00 2001 From: Jenny Hajee Date: Thu, 11 Sep 2025 16:15:55 -0500 Subject: [PATCH 1/2] removed Bypassing the Proxy for the API Notebook --- .../ROOT/pages/policies-mule3-cors-policy.adoc | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/mule-gateway/modules/ROOT/pages/policies-mule3-cors-policy.adoc b/mule-gateway/modules/ROOT/pages/policies-mule3-cors-policy.adoc index b8a472c95..f5639ea49 100644 --- a/mule-gateway/modules/ROOT/pages/policies-mule3-cors-policy.adoc +++ b/mule-gateway/modules/ROOT/pages/policies-mule3-cors-policy.adoc @@ -78,23 +78,6 @@ Go to the API Designer for your API. On the right pane, check that the API is be image::accessing-your-api-behind-a-firewall-e7a50.png["A code editor displays RAML code and a mocking service interface"] -=== Bypassing the Proxy for the API Notebook - -Go to the API Notebook for your API. In the initial code cell that creates a client, create a new code cell with the following code to set a new proxy configuration on the client: - -*`API.set(client, 'proxy', false);`* - -In the line above, `client` represents the name of your client that you used when you called `API.createClient().` For example: - -*`API.createClient(, ...);`* - -Combining these two lines together, the following example creates a new client and then bypass the default proxy: - -*`API.createClient('myClient', '+http://api-portal.anypoint.mulesoft.com/my-client/api/test-api/test.raml+');`* - -*`API.set(myClient, 'proxy', false);`* - - == See Also * xref:api-manager::policies-mule3.adoc[Policies in Mule 3] From 5d872433b4d1007b3de05c02f89401688585bc2c Mon Sep 17 00:00:00 2001 From: Jenny Hajee Date: Sat, 25 Oct 2025 13:22:26 -0500 Subject: [PATCH 2/2] added back the Bypassing proxy for API Notebook section and added an EOL note --- .../pages/policies-mule3-cors-policy.adoc | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/mule-gateway/modules/ROOT/pages/policies-mule3-cors-policy.adoc b/mule-gateway/modules/ROOT/pages/policies-mule3-cors-policy.adoc index f5639ea49..7a0508ed7 100644 --- a/mule-gateway/modules/ROOT/pages/policies-mule3-cors-policy.adoc +++ b/mule-gateway/modules/ROOT/pages/policies-mule3-cors-policy.adoc @@ -78,6 +78,26 @@ Go to the API Designer for your API. On the right pane, check that the API is be image::accessing-your-api-behind-a-firewall-e7a50.png["A code editor displays RAML code and a mocking service interface"] +=== Bypassing the Proxy for the API Notebook +[NOTE] +include::reuse::partial$eol-note.adoc[tag=eolReachedFeature] + +Go to the API Notebook for your API. In the initial code cell that creates a client, create a new code cell with the following code to set a new proxy configuration on the client: + +*`API.set(client, 'proxy', false);`* + +In the line above, `client` represents the name of your client that you used when you called `API.createClient().` For example: + +*`API.createClient(, ...);`* + +Combining these two lines together, the following example creates a new client and then bypass the default proxy: + +*`API.createClient('myClient', '+http://api-portal.anypoint.mulesoft.com/my-client/api/test-api/test.raml+');`* + +*`API.set(myClient, 'proxy', false);`* + + + == See Also * xref:api-manager::policies-mule3.adoc[Policies in Mule 3]