Posicione o cursor sobre a pasta apiproxies no seu espaço de trabalho e clique em .
O assistente Criar proxy de API é aberto.
Clique em Autenticação baseada em chave de API.
Digite os seguintes valores para o próximo conjunto de prompts. Pressione Enter depois de digitar cada um para confirmar e continuar.
Campo
Valor
Descrição
API proxy name
helloworld
Nome usado para identificar o proxy da API.
API proxy base path
helloworld
Parte do URL usado para fazer solicitações à API. O Edge usa o URL para corresponder e rotear solicitações de entrada para o proxy da API apropriado.
Backend target URL
https://mocktarget.apigee.net
URL de destino que a Apigee invoca em uma solicitação para o proxy da API. O serviço mocktarget está hospedado na Apigee e retorna dados simples.
O proxy da API foi criado.
Expanda a pasta helloworld para conferir o conteúdo do pacote de proxy de API.
O proxy de API padrão e os endpoints de destino, além de um conjunto de políticas para gerenciar a autenticação baseada em chave de API, são adicionados à configuração do proxy da API com base nas suas seleções usando o assistente.
Na próxima etapa, você configurará e implantará um ambiente que inclui o proxy de API helloworld.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-04 UTC."],[[["\u003cp\u003eThis content is relevant to both Apigee and Apigee hybrid platforms, and also provides a link to the Apigee Edge documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe guide demonstrates how to create a new API proxy by navigating to the \u003ccode\u003eapiproxies\u003c/code\u003e folder and utilizing the "Create API proxy" wizard.\u003c/p\u003e\n"],["\u003cp\u003eDuring API proxy creation, the user is prompted to choose "API key based authentication" and define critical fields such as the proxy name, base path, and backend target URL.\u003c/p\u003e\n"],["\u003cp\u003eAfter creation, the API proxy folder \u003ccode\u003ehelloworld\u003c/code\u003e contains the default API proxy and target endpoints, in addition to policies for managing API key-based authentication.\u003c/p\u003e\n"],["\u003cp\u003eThe subsequent step involves configuring and deploying an environment, including the newly created \u003ccode\u003ehelloworld\u003c/code\u003e API proxy.\u003c/p\u003e\n"]]],[],null,["# Step 2: 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\n\u003cbr /\u003e\n\nNext, create an API proxy.\n\n1. Position your cursor over the **apiproxies** folder in your workspace and click .\n\n The **Create API proxy** wizard opens.\n\n2. Click **API key based authentication**.\n\n3. Enter the following values for the next set of prompts. Press **Enter** after each to confirm and proceed.\n\n The API proxy is created.\n4. Expand the **helloworld** folder to view the contents of the API proxy bundle.\n\n Default API proxy and target endpoints, and a set of policies to manage API key based authentication, are added to the API proxy configuration based on your selections using the wizard.\n\nIn the next step, you configure and deploy an environment that includes your `helloworld` API proxy.\n\n\n[1](/apigee/docs/api-platform/local-development/vscode/tutorial-create-workspace)\n\n\n[2](/apigee/docs/api-platform/local-development/vscode/tutorial-create-proxy)\n\n\n[(NEXT) Step 3: Configure and deploy an environment](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy)\n\n\n[4](/apigee/docs/api-platform/local-development/vscode/tutorial-test)\n\n\n[5](/apigee/docs/api-platform/local-development/vscode/tutorial-change-target-endpoint)\n\n\n[6](/apigee/docs/api-platform/local-development/vscode/tutorial-attach-policy)\n\n\n[7](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy-apigee)\n\n\n[8](/apigee/docs/api-platform/local-development/vscode/tutorial-promote)\n\n\u003cbr /\u003e"]]