Skip to content

Feature Request: HTTP GET Params #586

@EspoTek

Description

@EspoTek

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions