-
-
Save jeherve/46816c61973377b79aab to your computer and use it in GitHub Desktop.
[Jetpack] Example output
This file contains 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
$ curl -is -H 'Content-Type: text/xml' --data '<?xml version="1.0"?><methodCall><methodName>demo.sayHello</methodName><params></params></methodCall>' 'http://wordpress.org/xmlrpc.php' && echo | |
HTTP/1.1 200 OK | |
Server: nginx | |
Date: Thu, 24 Jul 2014 12:59:21 GMT | |
Content-Type: text/xml; charset=UTF-8 | |
Content-Length: 181 | |
Connection: keep-alive | |
<?xml version="1.0" encoding="UTF-8"?> | |
<methodResponse> | |
<params> | |
<param> | |
<value> | |
<string>Hello!</string> | |
</value> | |
</param> | |
</params> | |
</methodResponse> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment