This guide is to show you how to use mod_auth_custom_http in prosody.
You can download the latest version of the module here: https://hg.prosody.im/prosody-modules/file/32d7f05e062f/mod_auth_custom_http/mod_auth_custom_http.lua
Place the module in /usr/lib/prosody/modules/
Change this one line (local postdata) on module mod_auth_custom_http.lua