"Api-Key" and "Api-Username" for try.discourse.org?

You can set up a local development instance of discourse for such work. It is fairly simple to do so.

See How do I set up a local Discourse Development Environment?

5 Likes