Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove whitespace from Websocket API Tool URL #2866

Open
mvadari opened this issue Nov 26, 2024 · 0 comments
Open

Remove whitespace from Websocket API Tool URL #2866

mvadari opened this issue Nov 26, 2024 · 0 comments

Comments

@mvadari
Copy link
Contributor

mvadari commented Nov 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants