码迷,mamicode.com
首页 > Windows程序 > 详细

Simple Web API Server in Golang (2)

时间:2014-10-26 01:35:27      阅读:302      评论:0      收藏:0      [点我收藏+]

标签:http   ar   for   sp   on   amp   bs   ad   ef   

In this challenge, I tried to implement a simple OAuth2 server basing on Simple Web API Server in [1].

For OAuth2, go to http://oauth.net/2/.

bubuko.com,布布扣

 

Endpoint

  • /api/2/domains/{domain name}/oauth/access_token
  • Use port 80. We would like to use other ports such as 8080 for testing
    • You could use the same port used for proxyauth endpoint
    • Https is required for OAuth2 but we don’t use it for this challenge

 

(to be continued...)

 

[1] Simple Web API Server : http://www.topcoder.com/challenge-details/30046011/?type=develop&noncache=true

[2] OAuth2 Server : http://www.topcoder.com/challenge-details/30046224/?type=develop

[3] git : https://coding.net/u/huys03/p/SimpleWebAPIServer/git

Simple Web API Server in Golang (2)

标签:http   ar   for   sp   on   amp   bs   ad   ef   

原文地址:http://www.cnblogs.com/huys03/p/4051274.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!