En el panel de navegación izquierdo, haz clic en Desarrollo de proxy > Proxies de API.
En el panel Proxies de API, haz clic en + Crear.
En el panel Crear un proxy, en Plantilla de proxy, selecciona Proxy inverso (más común).
En Detalles del proxy, ingresa lo siguiente:
Proxy Name: Ingresa myproxy. En los pasos restantes de esta sección, se supone que este es el ID de tu proxy.
Ruta base: Se establece de forma automática en el valor que ingresas para Proxy name. La ruta base es parte de la URL que se usa para realizar solicitudes a la API. Edge usa la URL para hacer coincidir solicitudes entrantes y enrutarlas al proxy de API adecuado.
Descripción (Opcional): Ingresa una descripción para tu nuevo proxy de API, como "Prueba de Apigee con un proxy simple".
Destino (API existente): Ingresa https://mocktarget.apigee.net.
Esto define la URL de destino que Apigee invoca en una solicitud al proxy de API. El servicio de destino ficticio se aloja en Apigee y muestra datos simples. No requiere una clave de API ni un token de acceso.
Haz clic en Siguiente.
En Implementación (opcional) dejar elEntornos de implementación campo sin cambios. En este ejemplo, solo creas el proxy sin implementarlo en esta etapa.
Haz clic en Crear.
Apigee crea el nuevo proxy y muestra un resumen de los detalles del proxy en el panel Resumen del proxy.
La sección Implementaciones está vacía porque
aún no se implementó el proxy.
Debajo de eso, la sección Endpoints muestra lo siguiente:
Extremos de proxy: La ruta base que configuraste para el proxy, que en este ejemplo es /myproxy.
Extremos de destino: La ruta base que estableces para el destino, que en este ejemplo es https://mocktarget.apigee.net.
Apigee clásico
Para crear un proxy de API simple en la IU clásica de Apigee, haz lo siguiente:
Haz clic en Desarrollar > Proxy de API en la vista principal de la IU.
En la lista desplegable Seleccionar entorno, selecciona el entorno en el que deseas crear un proxy de API nuevo.
En la IU de Apigee, se muestra una lista de los proxies de API para ese entorno. Si aún no has creado ningún proxy, la lista estará vacía.
Haz clic en Create new (Crear nueva).
Se inicia el asistente Crear proxy.
Selecciona Proxy inverso (más común).
Se muestra la vista Detalles del proxy.
Configura tu proxy con los siguientes ajustes:
Proxy Name: Ingresa myproxy. En los pasos restantes de esta sección, se supone que este es el ID de tu proxy.
Ruta base del proxy: Se configura de forma automática en /myproxy. La ruta base del proxy es parte de la URL que se usa para realizar solicitudes a la API. Edge usa la URL para hacer coincidir solicitudes entrantes y enrutarlas al proxy de API adecuado.
Descripción (Opcional): Ingresa una descripción para tu nuevo proxy de API, como Prueba de Apigee con un proxy simple.
Destino (API existente): Ingresa https://mocktarget.apigee.net.
Esto define la URL de destino que Apigee invoca en una solicitud al proxy de API. El servicio de destino ficticio se aloja en Apigee y muestra datos simples. No requiere una clave de API ni un token de acceso.
Los detalles de tu proxy de API deben tener el siguiente aspecto:
Haz clic en Siguiente.
En la pantalla Políticas comunes, selecciona Transferencia (sin autorización) como la opción de seguridad.
Haz clic en Siguiente.
En la pantalla Resumen, haz clic en Crear. (Deja la opción Implementación opcional sin seleccionar).
Hybrid genera el proxy (a veces denominado el paquete del proxy):
Haz clic en Ir a la lista de proxy.
Apigee muestra la vista Proxies, en la que se muestra una lista de los proxies de API. El nuevo proxy tiene un indicador de estado gris, lo que significa que aún no se implementó.
Creaste un proxy de API simple. A continuación, lo implementará en tu entorno.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)"],[[["\u003cp\u003eThis guide provides instructions for creating a simple API proxy in both Apigee and Apigee hybrid environments using either the new Apigee in Cloud console or the classic Apigee UI.\u003c/p\u003e\n"],["\u003cp\u003eThe primary focus is on creating a "Reverse proxy," which routes incoming traffic to a backend service, specifically using the \u003ccode\u003ehttps://mocktarget.apigee.net\u003c/code\u003e URL for testing.\u003c/p\u003e\n"],["\u003cp\u003eThe API proxy creation process involves specifying details such as the proxy name, base path, description, and target URL, with the base path being a part of the URL used for API requests.\u003c/p\u003e\n"],["\u003cp\u003eThe created proxy can be reviewed in the proxy summary, where you can see the proxy and target endpoints, however it will not be deployed initially.\u003c/p\u003e\n"],["\u003cp\u003eThe created proxy is ready to be deployed, which will make it accessible to clients.\u003c/p\u003e\n"]]],[],null,["# Step 1: Create an API proxy\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\nIn this step, you will create a simple API proxy that calls a mock target service. \n\n### Apigee in Cloud console\n\n1. In the Google Cloud console, go to the **Proxy development \\\u003e API proxies** page.\n\n [Go to API proxies](https://console.cloud.google.com/apigee/proxies)\n2. Be sure that your organization name is selected from the project picker in the **Google Cloud** pane. The organization name is the same as your Google Cloud project name.\n3. Click **+ Create**.\n4. In the **Create a proxy** pane, under **Proxy template** , select **Reverse proxy (Most common)**. A reverse proxy simply routes incoming traffic to a backend service.\n5. Under **Proxy details** , enter the following:\n - **Proxy name:** Enter `myproxy`. The remaining steps in this section assume that this is your proxy's name.\n - **Base Path** : Automatically set to the value you enter for `Proxy name`. The **Base\n Path** is part of the URL used to make requests to your API. Apigee uses the URL to match and route incoming requests to the proper API proxy.\n - **Description (Optional)**: Enter a description for your new API proxy, such as \"Testing Apigee with a simple proxy.\"\n - **Target (Existing API)** : Enter `https://mocktarget.apigee.net`. This defines the target URL that Apigee invokes on a request to the API proxy. The mocktarget service is hosted at Apigee and returns simple data. It requires no API key or access token.\n - **Space (Optional)** : If your organization has Apigee Spaces enabled, you can associate the API proxy with a Space selected from the list of available options. For more information, see [Apigee Spaces overview](/apigee/docs/api-platform/system-administration/spaces/apigee-spaces-overview).\n - Click **Next**.\n6. Under **Deploy (optional)** leave the **Deployment environments** field unchanged. In this example, you just create the proxy without deploying it at this stage. You can also ignore the **Service Account** field. Leave it blank.\n7. Click **Create** .\n\n Apigee creates the new proxy and displays a summary of the proxy details in the\n **Proxy summary** pane.\n\n The **Deployments** section is empty because\n the proxy has not yet been deployed.\n8. In the **Revisions** section under **Endpoint summary** , click **View** .\n\n The endpoints view pane displays:\n - **Proxy endpoints** : The basepath you set for the proxy, which in this example is `/myproxy`.\n - **Target endpoints** : The basepath you set for the target, which in this example is `https://mocktarget.apigee.net`.\n9. Click **Close** to return to the Proxy summary page.\n\n### Classic Apigee\n\nTo create a simple API proxy in the classic Apigee UI:\n\n1. Open the [Apigee UI](https://apigee.google.com) in a browser.\n2. Click **Develop \\\u003e API Proxies** in the main view of the UI.\n\n3. From the **Select Environment** drop-down list, select the environment in which you want\n to create a new API proxy.\n\n The Apigee UI displays a list of API proxies for that environment. If you haven't created any\n proxies yet, the list is empty.\n4. Click **Create New** . \n\n The **Create Proxy** wizard starts:\n\n5. Select **Reverse proxy** (most common).\n\n The **Proxy details** view is displayed.\n6. Configure your proxy with the following settings:\n - **Proxy Name:** Enter `myproxy`. The remaining steps in this section assume that this is your proxy's ID.\n - **Proxy Base Path:** Automatically set to `/myproxy`. The **Proxy Base\n Path** is part of the URL used to make requests to your API. Apigee uses the URL to match and route incoming requests to the proper API proxy.\n - **Description** (Optional): Enter a description for your new API proxy, such as **Testing Apigee with a simple proxy**.\n - **Target (Existing API)** : Enter `https://mocktarget.apigee.net`. This defines the target URL that Apigee invokes on a request to the API proxy. The mocktarget service is hosted at Apigee and returns simple data. It requires no API key or access token.\n\n Your API proxy's details should look like the following:\n\n7. Click **Next**.\n8. On the **Common policies** screen, select **Pass through (no authorization)** as the security option.\n9. Click **Next**.\n10. On the **Summary** screen, click **Create** . (Leave the **Optional Deployment** unselected.)\n\n Apigee generates the proxy (sometimes referred to as *the proxy bundle*):\n\n11. Click **Go to proxy list** .\n\n Apigee displays the **Proxies** view, which displays a list of API proxies. The\n new proxy has a gray status indicator, meaning that it has not yet been deployed.\n\nNext you'll deploy the API proxy. A proxy must be deployed before it can be used by a client.\n[1](/apigee/docs/api-platform/get-started/create-proxy) [(NEXT) Step 2: Deploy the API proxy](/apigee/docs/api-platform/get-started/deploy-proxy) [3](/apigee/docs/api-platform/get-started/test-proxy) [4](/apigee/docs/api-platform/get-started/change-endpoint) [5](/apigee/docs/api-platform/get-started/add-policy)\n\n\u003cbr /\u003e"]]