HTTP API - how to insert a value containing a space?

How can I insert data over the HTTP API using curl that contains spaces? A variation of escapes, double- and single-quotes isn’t working.


Have you tried %20 or + which are the way to URL encode a space?

This is POST data so URL encoding does not apply - but I figured it out, have to escape spaces with a backslash.

1 Like