I'm trying to send HTTP requests to a Jenkins server开发者_高级运维 which requires authentication, which authentication scheme do I need to use? cURL seems to figure it out automatically, FWIW.
Seems like Jenkins is using HTTP Basic Authentication.
You can use HTTP BASIC authentication to authenticate remote API requests. https://wiki.jenkins-ci.org/display/JENKINS/Authenticating+scripted+clients
精彩评论