I have multiple query parameters that I want to send in an HTTP PUT operation using curl. How do I encode the query parameters? Example:
$ curl -X PUT http://example.com/resource/1?param1=value%201¶m2=value2
If 'value 1' contains spaces or other characters that are interpreted by the shell, the command will not parse correctly.