origami:

post(url, data)

This sends the indicated data to the given URL using the HTTP POST method.

For a GET request, use fetch in the js: namespace.