restclient.el
restclient.el copied to clipboard
[Question] Pass jenkins token
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
See the example here https://github.com/pashky/restclient.el/blob/master/examples/httpbin#L81-L84