Re: restful interface

2016-01-08 Thread yu feng
- http-outgoing-0 << Date: > Fri, 08 Jan 2016 10:41:50 GMT > 18:43:03 MainClientExec - Connection can be kept alive indefinitely > 18:43:03 ResponseProcessCookies - Cookie accepted > [JSESSIONID="1B48E4EE1F327464EA6B32449346BBB7", version:0, > domain:192.168.1.1

Re: restful interface

2016-01-08 Thread 王琳
ConnectionHolder - Cancelling request execution 18:43:03 LoggingManagedHttpClientConnection - http-outgoing-0: Shutdown connection at com.britecloud.spark.jobs.KylinJobUtils.listAllJobs(KylinJobUtils.java:63) at com.britecloud.spark.jobs.KylinJobUtils.main(KylinJobUtils.java:89)

Re: restful interface

2016-01-08 Thread yu feng
:Basic auth-information-content" -H "Content-Type: application/json" "http://localhost:7070/kylin/api/xxx";, and auth-information-content is value of username + ":" + password encoding with base64. for example "ADMIN:KYLIN" will encode to "QURNSU46S1l

restful interface

2016-01-08 Thread 王琳
hi I have a restful interface problems need to consult about: Java call restful interface for user authentication how to control this piece? Thanks