[英]Authentication token for a React App
I am building an React JS app that has to receive data from online database. 我正在构建一个必须从在线数据库接收数据的React JS应用程序。 The API of the database asks for a me to provide a token.
数据库的API要求我提供令牌。
https://api.thetvdb.com/swagger#!/Authentication/get_refresh_token https://api.thetvdb.com/swagger#!/Authentication/get_refresh_token
I have worked with Google Maps API where I can just click a button and get a token. 我使用过Google Maps API,只需单击一个按钮即可获得令牌。 But now I am confused about the following:
但是现在我对以下情况感到困惑:
您可以从docs https://api.thetvdb.com/swagger#!/Authentication/post_login中提到的login
api获取它
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.