use https and full hostname to access mw api