Created
September 28, 2012 23:25
-
-
Save kinow/3802576 to your computer and use it in GitHub Desktop.
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
public static void main(String[] args) throws Exception { | |
TestLinkAPI api = new TestLinkAPI(new URL("http://localhost/testlink-1.9.4/lib/api/xmlrpc.php"), "f3230e0850876097abdfef4e3cd01145"); | |
Boolean b = api.checkDevKey("f3230e0850876097abdfef4e3cd01145"); | |
System.out.println(b); | |
} |
POST /testlink-1.9.4/lib/api/xmlrpc.php HTTP/1.1
Content-Type: text/xml
User-Agent: Apache XML RPC 3.1.3 (Sun HTTP Transport)
Cache-Control: no-cache
Pragma: no-cache
Host: localhost
Accept: text/html, image/gif, image/jpeg, ; q=.2, */; q=.2
Connection: keep-alive
Content-Length: 310
Date: Fri, 28 Sep 2012 23:23:54 GMT
Server: Apache/2.2.22 (Debian)
X-Powered-By: PHP/5.4.4-7
Connection: close
Content-Length: 163
Vary: Accept-Encoding
Content-Type: text/xml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
true