Re: Https request to Random.org
Paul DeBruicker <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
Do you need random numbers in you image? Or the browser? If in your image does this video help: http://www.jarober.com/blog/blogView?entry=3526889741 If in the browser this javascript will give you a random number between 0 and 1000 every time its called: Math.floor(1000 * Math.random()); Math.random() will give you a random float you can scale to whatever integer you want. Long Haired David wrote > Hi everyone. I need to get some random numbers and the best way seems to > be Random.org. Now, if they accepted http, I would be OK but their api > only accepts https. This is the url > https://www.random.org/integers/?num=55&min=1&max=55&col=55&base=10&format=plain&rnd=new > This api will give me my 55 random numbers but I can only seem to generate > http requests. Is there a way to do an https get using Seaside? > I am on VA Smalltalk V 9.1. > > Message sent using Winmail Mail Server > > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside -- Sent from: http://forum.world.st/Seaside-General-f86180.html _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside