restclient.el icon indicating copy to clipboard operation
restclient.el copied to clipboard

[Question] Pass jenkins token

Open bradprob opened this issue 3 years ago • 1 comments

Hi, The Jenkins rest api needs a token for authentication. With curl the following command works fine: curl http://jenkins.server/api/json/?tree=jobs[name] --user myusername:mytoken How can such a request be generated with restclient? Thanks

bradprob avatar Jul 15 '21 22:07 bradprob

See the example here https://github.com/pashky/restclient.el/blob/master/examples/httpbin#L81-L84

xshyamx avatar Aug 27 '21 09:08 xshyamx