Arahkan kursor ke folder apiproxies di ruang kerja Anda, lalu klik .
Wizard Create API proxy akan terbuka.
Klik Autentikasi berbasis kunci API.
Masukkan nilai berikut untuk kumpulan perintah berikutnya. Tekan Enter setelah setiap perintah untuk mengonfirmasi dan melanjutkan.
Kolom
Nilai
Deskripsi
API proxy name
helloworld
Nama yang digunakan untuk mengidentifikasi proxy API.
API proxy base path
helloworld
Bagian dari URL yang digunakan untuk membuat permintaan ke API Anda. Apigee menggunakan URL untuk mencocokkan dan merutekan permintaan masuk ke proxy API yang tepat.
Backend target URL
https://mocktarget.apigee.net
URL target yang dipanggil Apigee saat ada permintaan ke proxy API. Layanan mocktarget dihosting di Apigee dan menampilkan data sederhana.
Proxy API dibuat.
Luaskan folder helloworld untuk melihat konten paket proxy API.
Endpoint target dan proxy API default, serta serangkaian kebijakan untuk mengelola autentikasi berbasis kunci API, ditambahkan ke konfigurasi proxy API berdasarkan pilihan Anda menggunakan wizard.
Pada langkah berikutnya, Anda akan mengonfigurasi dan men-deploy lingkungan yang mencakup proxy API helloworld.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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"]]