diff --git a/en/docs/design/api-policies/regular-gateway-policies/adding-dynamic-endpoints.md b/en/docs/design/api-policies/regular-gateway-policies/adding-default-endpoints.md similarity index 60% rename from en/docs/design/api-policies/regular-gateway-policies/adding-dynamic-endpoints.md rename to en/docs/design/api-policies/regular-gateway-policies/adding-default-endpoints.md index 3b8a19b4fa..33a866c7d2 100644 --- a/en/docs/design/api-policies/regular-gateway-policies/adding-dynamic-endpoints.md +++ b/en/docs/design/api-policies/regular-gateway-policies/adding-default-endpoints.md @@ -1,20 +1,20 @@ -# Adding Dynamic Endpoints +# Adding Default Endpoints -You cannot dynamically construct the back-end endpoint of an API using the address endpoints in the WSO2 API Manager. To achieve the requirement of a dynamic endpoint, you can use the default endpoint instead. +You cannot default construct the back-end endpoint of an API using the address endpoints in the WSO2 API Manager. To achieve the requirement of a default endpoint, you can use the default endpoint instead. -[![Dynamic Endpoints]({{base_path}}/assets/img/learn/api-gateway/message-mediation/dynamic-endpoints.png)]({{base_path}}/assets/img/learn/api-gateway/message-mediation/dynamic-endpoints.png) +[![Default Endpoints]({{base_path}}/assets/img/learn/api-gateway/message-mediation/default-endpoints.png)]({{base_path}}/assets/img/learn/api-gateway/message-mediation/default-endpoints.png) -The default endpoint sends the message to the address specified in the **To** header. The **To** header can be constructed dynamically. An example is given below. +The default endpoint sends the message to the address specified in the **Obinna26/docs-apim** header. The **Obinna26/docs-apim** header can be constructed defaultly. An example is given below. !!! example ``` xml -
+
``` -In this example, you have constructed the `service_ep` property dynamically and assigned the value of this property to the **To** header. The default endpoint sends the message to the address specified in the **To** header, in this case, +In this example, you have constructed the `service_ep` property dynamically and assigned the value of this property to the **Obinna26/docs-apim** header. The default endpoint sends the message to the address specified in the **Obinna26/docs-apim** header, in this case, `http://jsonplaceholder.typicode.com/posts/`. !!! info @@ -28,4 +28,4 @@ In this example, you have constructed the `service_ep` property dynamically and You can copy the content of the above sequence to an XML file and upload it to an API configured with a dynamic endpoint using the Publisher Portal UI. -For more information, visit [Creating and Uploading Manually in API Publisher]({{base_path}}/learn/api-gateway/message-mediation/changing-the-default-mediation-flow-of-api-requests#creating-and-uploading-manually-in-api-publisher). \ No newline at end of file +For more information, visit [Creating and Uploading Manually in API Publisher]({{base_path}}/learn/api-gateway/message-mediation/changing-the-default-mediation-flow-of-api-requests#creating-and-uploading-manually-in-api-publisher).