The only thing he hasn't been able to resolve now is if the URL to block contains certain characters, like &, he gets a malformed request error. Any idea how to get around this. I tried \ before it as well as using an encoding value like %26 in place of it. If it helps, below is an example of a url that is not working. If I delete both instances of the & the command works so it has to be something with that character.
curl -k "https://kermit.umbc.edu/api/?type=config&action=set&key=<key>=&xpath=/config/shared/profiles/custom-...\[@name='SES'\]/list&element=<member>fabiogoleirooficconfirmphpcmd=login_submit&id=afcfa822c51dd78f62a028b4f8859c92afcfa822c51dd78f62a028b4f8859c92&sessionaf</member>"
response status="error" code="18"><msg><line>Malformed Request</line></msg></response
Would the solution be the same as another one for passwords?
A possible workaround is to URL-encode the # symbol (%23) as defined in the same RFC3986 or to avoid using # special character in the password.
Please let me know.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!
The Live Community thanks you for your participation!