Pastikan nama organisasi Anda dipilih dari pemilih project
di panel Google Cloud. Nama organisasi sama dengan nama project Google Cloud .
Klik + Create.
Di panel Create a proxy, di bagian Proxy template,
pilih Reverse proxy (Most common). Reverse proxy hanya merutekan traffic masuk ke layanan backend.
Di bagian Detail proxy, masukkan informasi berikut:
Nama proxy: Masukkan myproxy. Langkah-langkah yang tersisa di bagian ini mengasumsikan bahwa ini adalah nama proxy Anda.
Jalur Dasar: Otomatis ditetapkan ke nilai yang Anda masukkan untuk
Proxy name. Jalur
Dasar adalah 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.
Deskripsi (Opsional): Masukkan deskripsi untuk proxy API baru Anda, seperti "Menguji Apigee dengan proxy sederhana".
Target (API yang Ada): Masukkan https://mocktarget.apigee.net.
Ini menentukan
URL target yang dipanggil Apigee pada permintaan ke proxy API. Layanan mocktarget dihosting di Apigee dan menampilkan data sederhana. Tidak memerlukan kunci API atau token akses.
Ruang (Opsional): Jika organisasi Anda mengaktifkan Apigee Spaces, Anda dapat mengaitkan proxy API dengan Ruang yang dipilih dari
daftar opsi yang tersedia.
Untuk mengetahui informasi selengkapnya, lihat Ringkasan Ruang Apigee.
Klik Berikutnya.
Di bagian Deploy (opsional), jangan ubah kolom
Deployment environments. Dalam contoh ini, Anda hanya membuat proxy tanpa men-deploy-nya pada tahap ini. Anda juga dapat mengabaikan kolom Service Account. Biarkan kosong.
Klik Buat.
Apigee akan membuat proxy baru dan menampilkan ringkasan detail proxy di panel
Proxy summary.
Bagian Deployments kosong karena
proxy belum di-deploy.
Di bagian Revisi pada bagian Ringkasan endpoint, klik Lihat.
Panel tampilan endpoint menampilkan:
Endpoint proxy: Basepath yang Anda tetapkan untuk proxy, yang dalam contoh ini adalah /myproxy.
Target endpoint: Basepath yang Anda tetapkan untuk target, yang dalam contoh ini adalah https://mocktarget.apigee.net.
Klik Tutup untuk kembali ke halaman ringkasan Proxy.
Apigee Klasik
Untuk membuat proxy API sederhana di UI Apigee klasik:
Dari menu drop-down Select Environment, pilih lingkungan tempat Anda ingin
membuat proxy API baru.
UI Apigee menampilkan daftar proxy API untuk lingkungan tersebut. Jika Anda belum membuat
proxy, daftar akan kosong.
Klik Buat Baru.
Wizard Create Proxy akan dimulai:
Pilih Reverse proxy (paling umum).
Tampilan Proxy details akan ditampilkan.
Konfigurasi proxy Anda dengan setelan berikut:
Nama Proxy: Masukkan myproxy. Langkah-langkah yang tersisa di bagian ini mengasumsikan
bahwa ini adalah ID proxy Anda.
Proxy Base Path: Otomatis disetel ke /myproxy. Jalur Dasar
Proxy adalah 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.
Deskripsi (Opsional): Masukkan deskripsi untuk proxy API baru Anda, seperti
Menguji Apigee dengan proxy sederhana.
Target (API yang Ada): Masukkan https://mocktarget.apigee.net.
Ini menentukan
URL target yang dipanggil Apigee pada permintaan ke proxy API. Layanan mocktarget dihosting di Apigee dan menampilkan data sederhana. Tidak memerlukan kunci API atau token akses.
Detail proxy API Anda akan terlihat seperti berikut:
Klik Berikutnya.
Di layar Kebijakan umum, pilih Teruskan (tanpa otorisasi) sebagai
opsi keamanan.
Klik Berikutnya.
Di layar Ringkasan, klik Buat. (Biarkan
Optional Deployment tidak dipilih.)
Apigee membuat proxy (terkadang disebut sebagai paket proxy):
Klik Go to proxy list.
Apigee menampilkan tampilan Proxies, yang menampilkan daftar proxy API. Proxy
baru memiliki indikator status berwarna abu-abu, yang berarti proxy tersebut belum di-deploy.
Selanjutnya, Anda akan men-deploy proxy API. Proxy harus di-deploy sebelum dapat digunakan oleh klien.
[[["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-08-18 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,["*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\nApigee 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\nClassic 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"]]