如何在java中调用CodeProject api [英] How to call CodeProject api in java
问题描述
Hi Team,
我在codeproject中创建了应用程序并使用我必须通过使用oauth获取用户详细信息但是通过浏览文档我无法找到获取accessstoken的方法甚至用户数据。我浏览了示例代码,但这里对request参数进行了编码,甚至没有提到基本URL。例如,如果我想获取登录用户的访问令牌或强制用户登录,那么我使用的URL为https://api.codeproject.com/v1/My API / Account / Authorize?client_id = my_client_id& redirect_uri =redirect_url& response_type = token& state =uniqe code但是通过使用这个我得到错误404.你能帮我这个吗
我尝试过:
Quote:我使用的网址是https://api.codeproject.com/v1/我的API /帐户/授权?client_id = my_client_id& redirect_uri =redirect_url& response_type = token& state =uniqe code
您应该在 CodeProject API讨论区 [ ^ ]。
Hi Team,
I have created app in codeproject and using which I have to get the user details by using oauth but by going through documentation I am not able to find the way to get accesstoken and even user data. I went through sample code but here the request parameter are encoded and even the base url is not mentioned. such as If I want to get access token of logged in user or by forcing user to login then I am using the url as "https://api.codeproject.com/v1/My API/Account/Authorize?client_id=my_client_id&redirect_uri="redirect_url"&response_type=token&state="uniqe code" but by using this I am getting error 404. Could you guys please help me on this
What I have tried:
Quote:I am using the url as "https://api.codeproject.com/v1/My API/Account/Authorize?client_id=my_client_id&redirect_uri="redirect_url"&response_type=token&state="uniqe code"
You should post your question in the CodeProject API Discussion Boards[^].
这篇关于如何在java中调用CodeProject api的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!