Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/03 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/03 (UTC)."],[[["\u003cp\u003eThis page provides guidance for building and managing API proxies in Apigee and Apigee hybrid using Cloud Code.\u003c/p\u003e\n"],["\u003cp\u003eBefore you start, ensure that you have installed the Apigee Emulator and have an understanding of the fundamentals of APIs and API proxies.\u003c/p\u003e\n"],["\u003cp\u003eThe process of creating an API proxy involves creating a workspace, configuring and deploying an environment, and testing it against a mock endpoint.\u003c/p\u003e\n"],["\u003cp\u003eYou can modify your API proxy by changing the target endpoint, attaching policies to it, and then deploying it to an Apigee environment.\u003c/p\u003e\n"],["\u003cp\u003eThe final step in the process is to promote your project to production, after which it will be live.\u003c/p\u003e\n"]]],[],null,["# Building your first Apigee API proxy using Cloud Code\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\n| **Before you start** :\n|\n| - Ensure that you have followed the steps described in [Setting up Apigee API Management in Cloud Code](/apigee/docs/api-platform/local-development/setup), including [installing the Apigee Emulator](/apigee/docs/api-platform/local-development/vscode/manage-apigee-emulator#install).\n| - Learn more about API proxies in [Understanding APIs and API proxies](/apigee/docs/api-platform/fundamentals/understanding-apis-and-api-proxies).\n\nBuild your first Apigee API proxy using Cloud Code.\n\n1. [Create an Apigee workspace](/apigee/docs/api-platform/local-development/vscode/tutorial-create-workspace) to set up the directory structure required for local development with Apigee.\n\n2. [Create an API proxy](/apigee/docs/api-platform/local-development/vscode/tutorial-create-proxy). You'll connect your API proxy to a mock target endpoint so you can see how it works.\n\n3. [Configure and deploy an environment](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy) that includes your new API proxy.\n\n4. [Test your API](/apigee/docs/api-platform/local-development/vscode/tutorial-test). Learn how to build and export test resources and authenticate using an API key to test your API.\n\n5. [Change your target endpoint](/apigee/docs/api-platform/local-development/vscode/tutorial-change-target-endpoint) so your API proxy returns XML data.\n\n6. [Attach a policy](/apigee/docs/api-platform/local-development/vscode/tutorial-attach-policy) to convert the response from XML to JSON.\n\n7. [Deploy to an Apigee environment](/apigee/docs/api-platform/local-development/vscode/tutorial-deploy-apigee).\n\n8. [Promote an archive to production](/apigee/docs/api-platform/local-development/vscode/tutorial-promote).\n\n\n[(NEXT) Step 1: Create an Apigee workspace](/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[3](/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"]]