You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The curl examples for the HTTP API are technically incorrect, and only work for simple cases where the -F name=value value is already correctly encoded.
Using --data-urlencode instead of -F would be more correct, as that would correctly encode the value, so that value can be anything.
e.g. this will just work:
--data-urlencode "html=<fancy multi-line HTML document>"
e.g. this probably won't work if your value is more complex:
-F "html=<fancy multi-line HTML document>"
The text was updated successfully, but these errors were encountered:
The
curl
examples for the HTTP API are technically incorrect, and only work for simple cases where the-F name=value
value is already correctly encoded.Using
--data-urlencode
instead of-F
would be more correct, as that would correctly encode thevalue
, so thatvalue
can be anything.e.g. this will just work:
e.g. this probably won't work if your
value
is more complex:The text was updated successfully, but these errors were encountered: