TL;DR: This is a bug. There is a bug report. https://issues.jenkins-ci.org/browse/JENKINS-54051
I am trying to set up the API endpoint for Jenkins to know how to communicate with a GitHub Enterprise Server.
I am working behind a corporate proxy (though the error persists whether or not I have the proxy turned on) and my enterprise github has a custom CA cert that I think I've installed, but in either case I don't think that's the issue since I can't even connect it to the normal github api either. Here the is the error I am getting:
This error is for any endpoint, including https://github.myenterprise.com/api/v3 and https://api.github.com/ and even https://google.com. I can access these 3 sites through firefox without errors, and the github ones display the JSON stuff that I think I should get:
{
"current_user_url": "https://api.github.com/user",
"current_user_authorizations_html_url": "https://github.com/settings/connections/applications{/client_id}",
"authorizations_url": "https://api.github.com/authorizations",
...
}
If I google "This URL requires POST" there are only 3 results, none of which relate to Jenkins. I have very limited API / HTML / REST experience and have no idea what to try to fix this.