Dear All,
Cloudflair is responding with 400 Bad Request.
I tried and failed:
-
Add http header Connection Close, but no change.
-
Add curl parameter --http2 but No change.
-
Add curl parameter --http2-prior-knowledge but No change.
-
Add curl parameter --ipv4 but No change.
-
Add curl parameter --ipv6 but new error: Could not resolve host: connect.squareupsandbox.com
-
Autocomplete parameter is boolean, not string
change
data.put(“autocomplete”, “true”); // → json “autocomplete” : “true”
to
data.put(“autocomplete”, true); // → json “autocomplete” : true -
Amount parameter is integer, not string
change
data.put(“amount”, “” + amount * 100); // → json “amount” : “3300”
to
data.put(“amount”, amount * 100); // → json “amount” : 3300
No more options.
Need your help.
Many thanks