API加载后自动填充Onedrive API用户名和密码 [英] Autofill the Onedrive API username and password once API loads

查看:81
本文介绍了API加载后自动填充Onedrive API用户名和密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在按钮上调用OneDrive API点击它可以工作,但现在要求是用默认值填充OneDrive API,例如用户名:一旦API加载,xyz和密码:123。



有没有可能实现这个或任何建议?



谢谢

Hi,

I call the OneDrive API on a button click it works but now the requirement is to fill the OneDrive API with the default values say Username: "xyz" and Password:"123" once the API load.

Is there any possibility to achieve this or Any suggestion?

Thanks

推荐答案

嗨Sanket,



i恐怕你不能自动填写用户名和密码到一个驱动器API,因为Microsoft希望用户登录并允许访问特定应用程序以通过第三方应用程序上载文件。而且其余的API是Web浏览器的一部分,你无法真正控制它来操纵在webbrowser中打开的控件。用户必须输入用户名和密码才能使用一个驱动器休息API将文件上传到一个驱动器。
Hi Sanket ,

i am afraid that you can not auto fill the username and password to the one drive API as Microsoft wanted the user to sign in and allow access to the particular app to upload the file via third party application. moreover the rest API is a part of a web browser and you can't really have good control over it to manipulate the control which open inside webbrowser. user must enter the username and password when using a one drive rest API to upload the file to the one drive.


这篇关于API加载后自动填充Onedrive API用户名和密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆