[英]How to fetch Plugin version number in Twilio
I am trying to get the latest version number of flex plugin in JavaScript. I could not find any documentation online and I was wondering if it's possible to fetch plugin version number in react app.我正在尝试获取 JavaScript 中 flex 插件的最新版本号。我在网上找不到任何文档,我想知道是否可以在 React 应用程序中获取插件版本号。
You can do it by making a GET Request.您可以通过发出 GET 请求来完成。 Follow an example of a request:
遵循请求示例:
Request method: GET请求方式: GET
Request URL: https://flex-api.twilio.com/v1/PluginService/Plugins请求 URL: https://flex-api.twilio.com/v1/PluginService/Plugins
Authentication Type: Basic身份验证类型:基本
Authentication credentials: accountSid:authToken (accountSid is the username and authToken is the password)认证凭证:accountSid:authToken (accountSid为用户名,authToken为密码)
After the run, you will receive a list with 50 plugins:D.运行后,您将收到一个包含 50 个插件的列表:D。
I hope that it can help you!希望对您有所帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.