Backend API Tutorial
In this tutorial, we'll build, run, and test two APIs:
A simple bare-bones Hello World backend API.
A complete Hello Endpoints backend API that demonstrates common tasks, such as:
Handling GETs
Handling POSTs
Protecting methods with OAuth
Deploying the backend API to production App Engine
Topics covered
This tutorial covers the following topics:
Setup: Set up your development environment.
Creating a Simple Hello World Backend API: Create, run, and test a simple backend API.
Creating the Hello Endpoints Complete Sample Backend API: Create, run, test, and deploy a more complex and realistic backend API.
Hello Endpoints Code Walkthrough: Examine the Hello Endpoints API codebase in detail.
Alternate sample code locations
The Hello World sample in this tutorial is built from the App Engine Maven Endpoints skeleton artifact. You can find a complete version of the Hello World sample on GitHub in the appengine-endpoints-helloworld-java-maven repository.
The Hello Endpoints program in this tutorial is built using the App Engine Maven Hello Endpoints artifact. You can find a complete version of Hello Endpoints on GitHub in the appengine-endpoints-helloendpoints-java-maven repository.