Skip to content

Commit d8ae555

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 84440b4 + 5007932 commit d8ae555

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,10 @@ Then you can make GET and POST requests from your code:
2525
post.addData("name", "Rune");
2626
post.send();
2727
println("Reponse Content: " + post.getContent());
28-
println("Reponse Content-Length Header: " + post.getHeader("Content-Length"));
28+
println("Reponse Content-Length Header: " + post.getHeader("Content-Length"));
29+
30+
To authenticate requests using a Basic Access authentication scheme, include the following in your requests:
31+
32+
get.addUser("username", "password");
33+
34+
post.addUser("username", "password");

0 commit comments

Comments
 (0)