Skip to main content

Search

HTTP Request Gadget

  • DoomsickIe

    yes, but what would you be able to do with a json object in dreams? there's no way to even remotely use strings/any non-number type yet so we might have to try and get that in first.

  • TheBeardyMan

    DoomsickIe asks:

    what would you be able to do with a json object in dreams?

    but Hendore already answers this:

    this would limit request payloads and response bodies to be formatted as an array of up to 8 numbers, anything else returned from the server would fire a signal from a bad response output node

    i.e. the response isn't going to be a JSON object - or at least if it is, its content's going to be restricted to an array of 8 numbers that the gadget can convert to an 8 number fat wire that other Dreams gadgets can use.

    But this idea has other problems. If you allow creations in Dreams to connect to random HTTP servers on the Internet, policing it for things like phishing and gambling is going to be a nightmare.

  • DoomsickIe

    Ah, didn't see that. What you said is also true, there's not a great way to moderate stuff like that. Best they could do is force HTTPS

  • Skn3--

    Gets my vote but sadly it will never happen.

Please sign in to leave a comment.