LoginSignup
0
1

More than 5 years have passed since last update.

GCPチュートリアル試行「App Engine での Endpoints Frameworks スタートガイド」

Posted at

お題

表題のチュートリアルを試しにやってみる。
Cloud Endpoints自体の概要は、ここ を参照。
概念等の大事なことは、ここ を参照。

前提

GCP環境は保持済み。

試行

参考

チュートリアル通りやるだけで、GAEにサンプルJavaアプリをデプロイした上でエンドポイントにcurl叩くと結果返すことを確認可能。
特にハマるポイントは無し。


$  curl \


 --header "Content-Type: application/json" \
 --request POST \
 --data '{"message":"hello world"}' \
 https://XXXXXXXX.appspot.com/_ah/api/echo/v1/echo


{
 "message": "hello world"
}

※「XXXXXXXX」は自分のGCPプロジェクトID

実行結果は以下のように確認できる。

gcep.png

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1