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

Feature Request: HTTP GET Params #586

Open
EspoTek opened this issue Oct 31, 2023 · 1 comment
Open

Feature Request: HTTP GET Params #586

EspoTek opened this issue Oct 31, 2023 · 1 comment

Comments

@EspoTek
Copy link

EspoTek commented Oct 31, 2023

It would be really handy if the HTML endpoints supported HTTP GET params in the URL.

This would allow people to share specific calc results, or link to specific calc pages programatically.

For example, running /calc on a Showdown battle where you have a Scyther at +2 atk and the opponent has a Klawf at 88% HP could trivially generate a link to (for example) https://calc.pokemonshowdown.com/randoms.html?attacker_pokemon=scyther&defender_pokemon=klawf&attacker_atk=%2B2&defender_hp_percent=88, rather than just https://calc.pokemonshowdown.com/randoms.html

@AustinXII
Copy link
Member

#587

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

No branches or pull requests

2 participants