CAS 5.0 REST API

19 views
Skip to first unread message

Jiří

unread,
Dec 13, 2016, 8:50:27 AM12/13/16
to CAS Community
Hi All,

I have working REST API by CAS 5.0 server .


response: <!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\"><html><head><title>201 Created</title></head><body><h1>TGT Created</h1><form action="http://10.0.0.72:8080/cas/v1/tickets/TGT-3-t0ko7vRwTkvNWwLTUWTxHIEXR4WVRyGhmpwrgMTrhvqaCu2gfJ-localhost" method="POST">Service:<input type="text" name="service" value=""><br><input type="submit" value="Submit"></form></body></html>

What I don't understand is why author take response in this way ?
Is there some reason to use it like the form or it is just help to know how to implement ?

Why is not used JSON or XML .
Reply all
Reply to author
Forward
0 new messages