Hi All,

Could smb explain me how exactly should be use REST API. 

request :  "post http://localhost:8080/cas/v1/tickets";  with credential
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://localhost: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>

in step two i should send post request by manual.

POST /cas/v1/tickets/{TGT id} HTTP/1.0
service={form encoded parameter for the service url}



*I don't understand why I need response in html.*
Question is : Why the response is not in JSON ,XML format , is there some 
reason why it was coded this way. Thx a lot 


-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/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 view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/e7a35e9e-ff07-4ed2-b8e6-15451b32c0ac%40apereo.org.

Reply via email to