留言板

valamis elearning for tincan api

thumbnail
wenzhong gong,修改在10 年前。

valamis elearning for tincan api

New Member 帖子: 16 加入日期: 13-12-9 最近的帖子
The valamis Internal LRS endpoint is: <your-domain>/learn-portlet/TincanApi on github document. But use the endpoint test tincan Oauth is always show 404 error .

Request URL:http://127.0.0.1:81/learn-portlet/TincanApi/OAuth/initiate?oauth_callback=oob&oauth_consumer_key=689207771725164081&oauth_timestamp=1396404830&oauth_nonce=bLlwoe&oauth_signature_method=HMAC-SHA1&oauth_signature=uinJeyTpAatMPIVqPyF3CBpBiD8%3D
Request Method: POST
Status Code:404 Not Found
Request Headersview source
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:zh-CN,zh;q=0.8,en;q=0.6
Connection:keep-alive
Content-Length:0
Host:127.0.0.1:81
Origin:null
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36
X-Experience-API-Version:1.0.0
Query String Parametersview sourceview URL encoded
oauth_callback:oob
oauth_consumer_key:689207771725164081
oauth_timestamp:1396404830
oauth_nonce:bLlwoe
oauth_signature_method:HMAC-SHA1
oauth_signature:uinJeyTpAatMPIVqPyF3CBpBiD8=
Response Headersview source
Access-Control-Allow-Headers:Content-Type,Content-Length,Authorization,If-Match,If-None-Match,X-Experience-API-Version,X-Experience-API-Consistent-Through
Access-Control-Allow-Methods:HEAD,GET,POST,PUT,DELETE
Access-Control-Allow-Origin:*
Cache-Control:no-cache
Connection:Keep-Alive
Content-Length:1027
Content-Type:text/html;charset=utf-8
Date:Wed, 02 Apr 2014 02:13:50 GMT
Keep-Alive:timeout=5, max=99
Server:Apache/2.4.9 (Win64)
Set-Cookie:session=;Max-Age=0;path=/
Set-Cookie:session=;Max-Age=0;path=/
X-Content-Type-Options:nosniff
X-Frame-Options:SAMEORIGIN
X-XSS-Protection:1

Please tell me what is the endpoint url .
Thanks,
thumbnail
wenzhong gong,修改在9 年前。

RE: valamis elearning for tincan api (答复)

New Member 帖子: 16 加入日期: 13-12-9 最近的帖子
see : https://www.liferay.com/community/forums/-/message_boards/message/36378994