adacraft.org extension for HTTP stuff and associated actions.

Get some data from an API endpoint

The HTTP extension provides some blocks to send HTTP request and manage JSON data (which is sometimes used as response for HTTP requests).

Here is an example showing how to retrieve the city of a (fake) user from an API:

Untitled

Split strings

This extension also provides a tool to split a string with a given character (and it produces a JSON array) :

Untitled

Then, to get one of the items, you can use the block from this extension that allows you to extract information from JSON:

Untitled