描述:HTTP 404.您正在查找的资源(或其依赖项之一)可能已被删除
本文关键字:依赖 删除 HTTP 资源 查找 描述 | 更新日期: 2023-09-27 18:11:39
我被告知要在google api上工作。它几乎与FB相同,但我有一个小麻烦与redirect_url
这是我的应用程序用来获取访问令牌的url
https://accounts.google.com/o/oauth2/auth?client_id=**********3-uiqulutgsobu5df302tup49v6e6ae5qu.apps.googleusercontent.com?&redirect_uri=http://localhost/Default1.aspx&scope=https://www.google.com/m8/feeds/&response_type=token
当我注册应用程序时我将redirect_url设置为
http://localhost/Default1.aspx
在我的项目中有一个名为Default.aspx的页面。解决方案的名称是Googleprofiles。
它给了我一个错误:无法找到资源。
描述:HTTP 404。您正在查找的资源(或其依赖项之一)可以
have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Default1.aspx
看起来很简单。但是我无法修复它…需要专家帮助
谢谢太阳
您的redirect_uri
是错误的,更改它或将您的Default.aspx
重命名为Default1.aspx
:
redirect_uri=http://localhost/Default.aspx