Having trouble escaping a slash in a GET request

classic Classic list List threaded Threaded
1 message Options
Shell Shell
Reply | Threaded
Open this post in threaded view
|

Having trouble escaping a slash in a GET request

Hi everyone,


I'm having trouble to escape a slash within a json GET request. I'm doing it on a Unix host on which Jolokia is running. The command with URL is as follows:

curl --insecure https://127.0.0.1:9030/jolokia/read/org.eclipse.jetty.server:context=HTTP!/1.1@5e9^C647,id=0,type=connectorstatistics/bytesIn

This returns the error message:

!/1.1@5e9^C647,id=0,type=connectorstatistics/bytesIn: event not found


If I would put in a wildcard, then it works but not as I want it to:

curl --insecure https://127.0.0.1:9030/jolokia/read/org.eclipse.jetty.server:context=*,id=0,type=connectorstatistics/bytesIn


Can you please help?

Thank you in advance.