This is just an amendment for hjertnes' script
- The setting
mb-domain
should be set to the full path of the micropub endpoint. - I could not get this to work using form-encoded post format. If your endpoint does not support json-encoded posts, this will likely not work.