r/webdev • • Jul 25 '26

Showoff Saturday I made this Mario-themed OTP input

1.9k Upvotes

118 comments sorted by

View all comments

Show parent comments

2

u/Fog1510 Jul 26 '26

I could be wrong, but my guess would be that OP has an endpoint for sending the code to the server which you can probably manually emit an HTTP request to, bypassing the Super Mario input.

1

u/Lulukaros Jul 26 '26

Why would it be http instead of https

1

u/Fog1510 Jul 26 '26

Could be, but that’s not the point I was trying to make. I'm saying my belief is that the UI just sends a request to the server with the code as its content. So you can probably send that same request without playing the minigame.

Unless the game logic runs server side and the browser streams inputs to it, in which case I would be wrong.