xrpl-dev-portal icon indicating copy to clipboard operation
xrpl-dev-portal copied to clipboard

Remove whitespace from Websocket API Tool URL

Open mvadari opened this issue 11 months ago • 0 comments

The Permalinks provided by the Websocket API Tool are a bit messy and could be a bit more cleaned up if whitespace were removed from the URL and re-added on the other side.

For example, this URL (https://xrpl.org/resources/dev-tools/websocket-api-tool?server=wss%3A%2F%2Fs1.ripple.com%2F&req=%7B%20%20%22command%22%3A%20%22server_info%22%0A%7D) directly decodes to:

https://xrpl.org/resources/dev-tools/websocket-api-tool?server=wss://s1.ripple.com/&req={  "command": "server_info"
}

IMO the spaces and newlines (and the trailing / in the server URL) are unneeded.

mvadari avatar Nov 26 '24 20:11 mvadari