Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Google API

How do I test Google API?
Solved Solved
0 2 137
1 ACCEPTED SOLUTION

Former Community Member
Not applicable
To test your API locally:
  1. Build the project in the root directory of the project. For example: Maven Gradle. mvn clean package.
  2. Start the App Engine development server. For example: Maven Gradle. mvn appengine:run.
  3. Make an API request to test your API. For example, using curl : curl \ -H "Content-Type: application/json" \

View solution in original post

2 REPLIES 2

Former Community Member
Not applicable
To test your API locally:
  1. Build the project in the root directory of the project. For example: Maven Gradle. mvn clean package.
  2. Start the App Engine development server. For example: Maven Gradle. mvn appengine:run.
  3. Make an API request to test your API. For example, using curl : curl \ -H "Content-Type: application/json" \

https://developers.google.com/oauthplayground/  It is simplest way to test GCP API