Discuss Scratch

quimarche
New Scratcher
1 post

How to make HTTP GET requests

Hi

A new scratcher here. Is it possible to make HTTP GET requests? If so, how?

Thanks in advance.
Hardmath123
Scratcher
1000+ posts

How to make HTTP GET requests

You can't make HTTP GET requests directly from Scratch—it's partly a safety thing and partly a don't-make-it-too-hard-for-newbies thing (you can make HTTP GET requests from Snap!, though).

Depending on your goal, you should be able to manage with cloud variables or with a JavaScript extension.
EpicGuy369
Scratcher
20 posts

How to make HTTP GET requests

You can use the Scratch Boost extension here.
Dylan5797
Scratcher
1000+ posts

How to make HTTP GET requests

EpicGuy369 wrote:

You can use the Scratch Boost extension here.
Huuuuuge bump
Or, have a server running somewhere, that reads a cloud var and builds a request based on it.
Jonathan50
Scratcher
1000+ posts

How to make HTTP GET requests

Hardmath123 wrote:

You can't make HTTP GET requests directly from Scratch—it's partly a safety thing and partly a don't-make-it-too-hard-for-newbies thing (you can make HTTP GET requests from Snap!, though).

Depending on your goal, you should be able to manage with cloud variables or with a JavaScript extension.
you can make POST requests from Snap!!
ChocolatePi
Scratcher
1000+ posts

How to make HTTP GET requests

Jonathan50 wrote:

Hardmath123 wrote:

You can't make HTTP GET requests directly from Scratch—it's partly a safety thing and partly a don't-make-it-too-hard-for-newbies thing (you can make HTTP GET requests from Snap!, though).

Depending on your goal, you should be able to manage with cloud variables or with a JavaScript extension.
you can make POST requests from Snap!!
He's a Snap! dev! https://github.com/jmoenig/Snap–Build-Your-Own-Blocks/graphs/contributors
Dylan5797
Scratcher
1000+ posts

How to make HTTP GET requests

ChocolatePi wrote:

Jonathan50 wrote:

Hardmath123 wrote:

You can't make HTTP GET requests directly from Scratch—it's partly a safety thing and partly a don't-make-it-too-hard-for-newbies thing (you can make HTTP GET requests from Snap!, though).

Depending on your goal, you should be able to manage with cloud variables or with a JavaScript extension.
you can make POST requests from Snap!!
He's a Snap! dev! https://github.com/jmoenig/Snap–Build-Your-Own-Blocks/graphs/contributors
cool slanted exclamation mark.
liam48D
Scratcher
1000+ posts

How to make HTTP GET requests

Dylan5797 wrote:

ChocolatePi wrote:

Jonathan50 wrote:

Hardmath123 wrote:

You can't make HTTP GET requests directly from Scratch—it's partly a safety thing and partly a don't-make-it-too-hard-for-newbies thing (you can make HTTP GET requests from Snap!, though).

Depending on your goal, you should be able to manage with cloud variables or with a JavaScript extension.
you can make POST requests from Snap!!
He's a Snap! dev! https://github.com/jmoenig/Snap–Build-Your-Own-Blocks/graphs/contributors
cool slanted exclamation mark.
It's slanted because we aren't using it like a normal exclamation point (!), which generally ends a sentence.

In that case would it be “I like Snap!” because “Snap!” is at the end of the sentence? Because "I like Snap!." doesn't look right.. but maybe..
DigiTechs
Scratcher
500+ posts

How to make HTTP GET requests

liam48D wrote:

Dylan5797 wrote:

ChocolatePi wrote:

Jonathan50 wrote:

Hardmath123 wrote:

You can't make HTTP GET requests directly from Scratch—it's partly a safety thing and partly a don't-make-it-too-hard-for-newbies thing (you can make HTTP GET requests from Snap!, though).

Depending on your goal, you should be able to manage with cloud variables or with a JavaScript extension.
you can make POST requests from Snap!!
He's a Snap! dev! https://github.com/jmoenig/Snap–Build-Your-Own-Blocks/graphs/contributors
cool slanted exclamation mark.
It's slanted because we aren't using it like a normal exclamation point (!), which generally ends a sentence.

In that case would it be “I like Snap!” because “Snap!” is at the end of the sentence? Because "I like Snap!." doesn't look right.. but maybe..

The slanted exclamation mark is because that's its name - Snap!.
Dylan5797
Scratcher
1000+ posts

How to make HTTP GET requests

liam48D wrote:

Dylan5797 wrote:

ChocolatePi wrote:

Jonathan50 wrote:

Hardmath123 wrote:

You can't make HTTP GET requests directly from Scratch—it's partly a safety thing and partly a don't-make-it-too-hard-for-newbies thing (you can make HTTP GET requests from Snap!, though).

Depending on your goal, you should be able to manage with cloud variables or with a JavaScript extension.
you can make POST requests from Snap!!
He's a Snap! dev! https://github.com/jmoenig/Snap–Build-Your-Own-Blocks/graphs/contributors
cool slanted exclamation mark.
It's slanted because we aren't using it like a normal exclamation point (!), which generally ends a sentence.

In that case would it be “I like Snap!” because “Snap!” is at the end of the sentence? Because "I like Snap!." doesn't look right.. but maybe..
Jonathan50
Scratcher
1000+ posts

How to make HTTP GET requests

ChocolatePi wrote:

Jonathan50 wrote:

Hardmath123 wrote:

You can't make HTTP GET requests directly from Scratch—it's partly a safety thing and partly a don't-make-it-too-hard-for-newbies thing (you can make HTTP GET requests from Snap!, though).

Depending on your goal, you should be able to manage with cloud variables or with a JavaScript extension.
you can make POST requests from Snap!!
He's a Snap! dev! https://github.com/jmoenig/Snap--Build-Your-Own-Blocks/graphs/contributors
?

Last edited by Jonathan50 (Dec. 25, 2015 19:22:51)

Powered by DjangoBB