400 bad request with curl and https url
It seems like you have no post-data with your request. You probably have not set up your curl transfer properly.
You should have at least a Content-Length
header with your POST.
Webrick proxy + cURL returns bad request
If you add a trailing slash to the URL you request, does it work then? Ie a command line like this:
curl --proxy localhost:8888 http://www.google.de/ -v
(this is a curl bug reported in bug #1206, and fixed in git and next release...)
Bad Request - This combination of host and port requires TLS. with Spring Boot
I used https://
at the beginning instead of http://
, it worked for me.
Related Topics
What Ocr Options Exist Beyond Tesseract
Converting an Array from One to Multi-Dimensional Based on Parent Id Values
Long Integer Is Transformed When Inserted in Shorter Column, Not Truncated. Why? What Is the Formula
PHP String Manipulation: Extract Hrefs
Programmatically Creating New Order in Woocommerce
Make Switch Use === Comparison Not == Comparison in PHP
How to Change PHP Version Used by Composer
Strcmp Equivelant for Integers (Intcmp) in PHP
Ruby and PHP Hmacs Not Agreeing
Changing Woocommerce Cart Item Names
Round to Max Thousand, Hundred etc in PHP
Sort Array in PHP by Value and Maintain Index Association
Composer Require Local Package
Relative Path in Require_Once Doesn't Work