Discuss Scratch

ScolderCreations
Scratcher
1000+ posts

Send HTTP Requests using Scratch

RazyRabbit wrote:

ScolderCreations wrote:

RazyRabbit wrote:

Support!
why?
it would be great to use whitelisted websites APIs, like scratch's own api
then why didn't you say that before?
RazyRabbit
Scratcher
35 posts

Send HTTP Requests using Scratch

dbates314 wrote:

no support: the whole point of scratch is coding for beginners and HTML is far more advanced than scratch so sorry
HTML Was made to be simple and scratchers are smart. so, to me an official HTTP Extension would be a greater improvment
Ciyob86
Scratcher
500+ posts

Send HTTP Requests using Scratch

dbates314 wrote:

no support: the whole point of scratch is coding for beginners and HTML is far more advanced than scratch so sorry
HTTP requests and HTML are very different things.
Ciyob86
Scratcher
500+ posts

Send HTTP Requests using Scratch

Removed

Last edited by Ciyob86 (Aug. 7, 2021 04:06:25)

-WhoAsked-
Scratcher
79 posts

Send HTTP Requests using Scratch

That would be cool, but scratch would have to make some restrictions tho, like a level system and only level 500 can use it or something
I am guessing the blocks would maybe look something like this

get [text v] of element [Text] of website [https://mywebsite.com]::control
send function [HelloWorld();] in [https://mywebsite.com] and wait::sensing
ect…
Quantum-Cat
Scratcher
1000+ posts

Send HTTP Requests using Scratch

-WhoAsked- wrote:

That would be cool, but scratch would have to make some restrictions tho, like a level system and only level 500 can use it or something
I am guessing the blocks would maybe look something like this

get [text v] of element [Text] of website [https://mywebsite.com]::control
send function [HelloWorld();] in [https://mywebsite.com] and wait::sensing
ect…
Isn't some kind of level system or higher rank rejected:

TOLORS wrote:

8.7 Digital currency or Scratch achievements

Some form of digital currency which allows you to “buy” Scratch features (with real or fake money) would not really benefit the educational value of Scratch; after all, there is not really anything that you can buy. While there could be features that are only unlockable via digital currency, this does not really contribute to Scratch's purpose of being a programming language available for everyone. However, you can make digital currency in your own projects, if you like. A very good detailed analysis for why digital currency should not be on Scratch can be found on this post.

Some other users have suggested Scratch achievements such as “Created 50 projects” with the idea that this would give users motivation to keep using Scratch. However, this sort of idea does not really fit in with the purpose of Scratch. Some users may use their achievements to determine that they are “better” than other users. However, you are allowed to make achievements in your own games, if you like.

TOLORS wrote:

8.2 Add a rank above Scratcher or allow users to skip the New Scratcher status

There are three ranks: New Scratcher, Scratcher, and Scratch Team. The only reason the New Scratcher rank exists is to prevent spam, and since it only takes a few weeks to become a Scratcher, bullying and separation are rather minimal. Similarly, the Scratch Team rank exists so users know who is on the Scratch Team; generally, Scratch Team members do not brag about the Scratch Team rank. In contrast, there may be division in the community between Scratchers and those with a higher rank, which could also lead to bragging and bullying. This also includes a “verified Scratcher” status where well-known Scratchers get a special symbol next to their name.

Although the restrictions for New Scratchers may seem annoying, they are extremely effective against spam and inappropriate content. For New Scratchers who are wondering how to become a Scratcher or what it means to be one, check out this post. The Scratch Team will not allow any accounts to “skip” the New Scratcher status, even if it is an alternate account of an existing account.

misaPuding
Scratcher
1000+ posts

Send HTTP Requests using Scratch

I heard that a project which used an external server and cloud vars to view internet got taken down, so if it's true the ST's not gonna implement this. There are mods which implement or are able to load extensions which implement this (like Sheep_Maker/Sheep_Tester's E羊cques+MikeDEV's CloudLink extension)
_iu
Scratcher
7 posts

Send HTTP Requests using Scratch

I was thinking maybe you could sign up for access to blocks like these?
that way only people scratch knows wont do harm can have access without risking security and community safety
Jackson49_test
Scratcher
100+ posts

Send HTTP Requests using Scratch

Bump
computer-osmaker
Scratcher
22 posts

Send HTTP Requests using Scratch

Congrats on bumping a topic whose last post was in 2017.
Anyway, support. How would you handle the CORS Proxy? And what would happen if the url was undefined.
You could use the CodeTabs API
-ElectronicArts-
Scratcher
1000+ posts

Send HTTP Requests using Scratch

computer-osmaker wrote:

Congrats on bumping a topic whose last post was in 2017.
Anyway, support. How would you handle the CORS Proxy? And what would happen if the url was undefined.
You could use the CodeTabs API
Undefined url would return an empty string
JoveStudios
Scratcher
24 posts

Send HTTP Requests using Scratch

I feel like a more accurate http request block would look like this
(Send POST request to () with data ())
(Send GET request to ())
(They are values because http requests can return data, especially the GET request.)
-Expo
Scratcher
1000+ posts

Send HTTP Requests using Scratch

Bump
MountY_Backup
Scratcher
100+ posts

Send HTTP Requests using Scratch

Nice suggestion, but it should be limited to only Scratch websites because it can be dangerous.

Paddle2See wrote:

Yes, a general GOTO url block is probably way too dangerous and would never be implemented. URLs that are restricted to the Scratch domain should be safe and might have some creative uses.View source

Powered by DjangoBB