Added a JS example to the API help. Uses 'fetch' because that seems to be the right way to do it these days. https://dpaste.com/api/
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.