Navigation

    CreatiCode Scratch Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    POST request block

    Feedback
    post blocks request pros-and-cons web
    4
    10
    29
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NotJaldolfYT
      NotJaldolfYT Best Forum Helpers last edited by

      I feel like there should be a block to send a POST request to websites to retrieve data. It can be good in a multitude of ways, whilst also having its cons.

      For example, you could:

      • Make a feedback system using webhooks
      • Get information on websites without the user visiting it directly

      But bad actors may be able to:

      • CSRF / XXS the website
      • Run JavaScript on the website for anyone that runs the project
      • Rate-limit the website
      • Shut down the server from a DoS

      I feel like it’s a good idea if CreatiCode can circumvent these cons, one way would be to make it so that only trusted users can use the block, and that we should allow the block into the website if we can get this whole system working; but if we can’t get rid of these issues, I feel we shouldn’t.

      hai!!!

      info-creaticode 1 Reply Last reply Reply Quote 0
      • info-creaticode
        CreatiCode @NotJaldolfYT last edited by

        @notjaldolfyt

        There is already a block for “fetch web page as markdown” in the cloud extension. Can you give some specific examples for how to use this new POST block?

        NotJaldolfYT jeffreyrb03-gmail 2 Replies Last reply Reply Quote 0
        • NotJaldolfYT
          NotJaldolfYT Best Forum Helpers @info-creaticode last edited by

          @info-creaticode the POST request block could send data to websites or webhooks, it could be very useful for making feedback boxes or easier blacklists so that moderators of chatrooms on CreatiCode won’t have to be on their project 24/7 and can just watch their webhook take in the responses as the users chat away.

          You can also add things such as rate limiting payload signing and validation.

          hai!!!

          1 Reply Last reply Reply Quote 1
          • jeffreyrb03-gmail
            JaecadeJnight Mod Helper @info-creaticode last edited by

            @info-creaticode i made a suggestion for POST a while ago, it can be used for good purposes and is also found in other scratch mods as well. It can be used to interact with APIs easier and do things that GET currently cant

            #LLJW
            <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

            info-creaticode 1 Reply Last reply Reply Quote 1
            • info-creaticode
              CreatiCode @jeffreyrb03-gmail last edited by

              So what would this block look like? What parameters should it take? Where would the results be stored?

              NotJaldolfYT jeffreyrb03-gmail 2 Replies Last reply Reply Quote 0
              • NotJaldolfYT
                NotJaldolfYT Best Forum Helpers @info-creaticode last edited by

                @info-creaticode It should be in the cloud section most likely with parameters for what to post and where to send the request to, it will output the error code or status in the Console Panel

                hai!!!

                Sayori is best girl 1 Reply Last reply Reply Quote 0
                • Sayori is best girl
                  Theodore Gilberto Lugo @NotJaldolfYT last edited by

                  @notjaldolfyt Screenshot 2025-08-09 163204.png renpy or something

                  I make a bunch of music and art and games and stuff. YEEHAW-

                  1 Reply Last reply Reply Quote 0
                  • jeffreyrb03-gmail
                    JaecadeJnight Mod Helper @info-creaticode last edited by

                    @info-creaticode said in POST request block:

                    So what would this block look like? What parameters should it take? Where would the results be stored?

                    it should allow to send more detailed HTTP requests (GET and POST) and allow all of the options and headers and whatnot.
                    https://forum.creaticode.com/topic/1255/feature-request-blocks-to-send-http-requests?_=1754798704902 was where i showed what the block could look like

                    #LLJW
                    <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                    info-creaticode 1 Reply Last reply Reply Quote 0
                    • info-creaticode
                      CreatiCode @jeffreyrb03-gmail last edited by

                      @jeffreyrb03-gmail

                      Thanks for the reminder. Yes, we do have this on our queue, but it is still lower priority compared to other tasks we are working on.

                      Please understand we have a small team, and we rank tasks based on the potential number of users who would likely use these features, and this POST request block is too advanced for most of our users.

                      jeffreyrb03-gmail 1 Reply Last reply Reply Quote 2
                      • jeffreyrb03-gmail
                        JaecadeJnight Mod Helper @info-creaticode last edited by

                        @info-creaticode Makes sense, and I will try to keep that in mind when making more suggestions. If you guys need help, I would be glad to help out for free with any issues with code, whether it be frontend or backend. I do HTML, CSS, and JS everyday.

                        And I’m a bit rusty with PHP, but I know alot about NodeJS and Python, since I work with them alot. I could give some of your guy’s code a look or help to implement things on your queue, just say the word.

                        #LLJW
                        <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post