Add method=POST, body=... support

This is to allow cross-domain posting from JS.