I am updating a password for the user using curl.
When I update the password with special characters, curl requests gets failed.
Curl Request:-
curl -v -f -u "admin:admin" "https://sample.com/users/1?pretty=true" -X PUT -F "password=@68bnD2vRQ"
Error:-
couldn't open file "68bnD2vRQ"
How can I use the curl requests with special characters for PUT method?
FYI I am generating and assigning random password for the users. So I am not sure the position of special characters in the password, it may be any where in the string.