I have used:
curl -c /tmp/cookiefile.txt -X POST -H "Authorization:
Basic(base64(ADMIN:KYLIN))" -H 'Content-Type: application/json'
http://localhost:7070/kylin/api/user/authentication

although can't meet exception,My /tmp/cookiefile.txt only has this content:

# Netscape HTTP Cookie File
# http://curl.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.

#HttpOnly_localhost     FALSE   /kylin/ FALSE   0       JSESSIONID
56362B68538369D23FC1A43C833CA68F


--
View this message in context: 
http://apache-kylin.74782.x6.nabble.com/About-kylin-restful-tp4678p4680.html
Sent from the Apache Kylin mailing list archive at Nabble.com.

Reply via email to