Posiziona il cursore sulla cartella apiproxies nell'area di lavoro e fai clic su .
Viene visualizzata la procedura guidata Crea proxy API.
Fai clic su Autenticazione basata su chiave API.
Inserisci i seguenti valori per il successivo insieme di prompt. Premi Invio dopo ogni input per confermare e procedere.
Campo
Valore
Descrizione
API proxy name
helloworld
Nome utilizzato per identificare il proxy API.
API proxy base path
helloworld
Parte dell'URL utilizzato per effettuare richieste alla tua API. Apigee utilizza l'URL per abbinare e instradare le richieste in entrata al proxy API corretto.
Backend target URL
https://mocktarget.apigee.net
URL di destinazione richiamato da Apigee in una richiesta al proxy API. Il servizio mocktarget è ospitato su Apigee e restituisce dati semplici.
Il proxy API viene creato.
Espandi la cartella helloworld per visualizzare i contenuti del bundle del proxy API.
Il proxy API e gli endpoint di destinazione predefiniti, nonché un insieme di criteri per gestire l'autenticazione basata su chiave API, vengono aggiunti alla configurazione del proxy API in base alle selezioni effettuate utilizzando la procedura guidata.
Nel passaggio successivo, configurerai ed eseguirai il deployment di un ambiente che include il proxy API helloworld.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 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"]]