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

#1

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.

Thanks!

#2

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

#3

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

1 Like