I'm having trouble understanding the context of what you are doing. It sort of sounds like you are doing something and getting an error message. But I'm not really clear on what the something is. You may find the answers at
How to urlencode data for curl command? helpful. Or maybe a
URL encoder. If not, perhaps you might consider posting more about what you are doing. E.g.
1. SSH into cPanel box (what version and OS?).
2. Type command (please post the actual command, obfuscating truly private information like passwords).
3. Get these results (please post the exact error message).
If you are following instructions somewhere, it may also help to link to those instructions.