Add HTTP POST interface to publish message.