This page runs in your browser. Nothing is sent anywhere, and there is no server to ask: a program cannot fetch dice from this address, because what comes back is this page, not the answer. A program should use the command line or the package. A page can embed this one in a frame and be sent the answer: see Dice as plain text.