I’ve had a hard time finding an example of making a post request on Laravel through fetch API as most examples are using jQuery only to make it shorter.
Not overly complicated, but not so obvious…
Of course, you need to be comparing integers and you need to have a range in which the comparison would make sense.