simple ajax call
slightly more complex call
removed Content-Length which doesn't appear to work with japanese characters when content-type is text/plain