using CAS 4.2.6, i test REST API
curl -i -k -X  POST -d 
"username=casuser&password=Mellon&redirect_uri=http://www.baidu.com/"; 
https://demo.ssoserver.com:8443/cas/v1/tickets
HTTP/1.1 302 
Location: /cas/login
Content-Type: text/html;charset=UTF-8
Content-Length: 0
Date: Sun, 02 Oct 2016 06:06:16 GMT

return  a login page rather than TGT, There is a warning in log file.
WARN [org.springframework.web.servlet.PageNotFound] - <No mapping found for 
HTTP request with URI [/cas/v1/tickets] in DispatcherServlet with name 
'cas'>


-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/fe84a665-75b3-49eb-a026-c910de58399d%40apereo.org.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to