Postman
https://www.getpostman.com/oauth2/callback`
#APITools
code上で悩むより、Postmanでやった方が、頭の整理ができることがある。
ので、積極的に使っていきたい。生産性上げてくれる。
Postman | The Collaboration Platform for API Development
install: How to Install Postman on Ubuntu 18.04 | Linuxize
参考:
amazon Vue.jsでCRUD操作を行ってみよう
【New Year Calendar】チームでのAPI開発のお供!REST APIクライアント「Postman」を現場に導入した件 - Qiita
InsomniaとPostmanの比較。
使い方
API開発・テスト便利ツール Postmanの使い方メモ - Qiita
#api #dev
gcp用には、 Google Cloud API with POSTMAN – Nataraj P – Medium
設定項目が違う???
Documentation作成機能もある。
thedevsaddam/docgen: Transform your postman collection to HTML/Markdown documentation
Authentication
Authorizing requests | Postman Learning Center
—if this does not work for your API, you can use the following URL: https://www.getpostman.com/oauth2/callback
share
teamで共有する方向性?有料にすると、いろいろできる?
collectionレベルで、export, import, documentationなでもできる。
https://www.getpostman.com/collections/e9da092f6f77f5d9b6cf
Refresh Tokenの対応はどうする?
oauth - How to persist an OAuth2 token (or use a refresh token) in Postman collections? - Stack Overflow
まだ、ためしてないけど、、
testタブを手動でやる
prescriptを使う
Google APIの利用
OAuthの認証から
PostmanでOAuthの設定をしてGoogle APIを実行する手順 - Qiita
若干、UIが変わってるけど、この通りでいける。
tokenのrefreshは、たぶん、Postmanの中でボタンを押してupdateする必要があるけど、大した手間でない。
もともと、アプリで手で動かすためのものだし。
Service Account
Postman and Google Service Account, how to authorize? - Stack Overflow
access tokenを得る手段はあるけど、これではpostmanの中での手続きにできない?
Access TokenをDirectに。
gcloud auth application-default print-access-token で tokenをコピペする。
参考: Using Postman to access OAuth 2.0 Google APIs - Stack Overflow
資本:
Postman | Crunchbase
@201907 50M入ったので、燃料は入った感じ。注目