Skip to content

Commit ac90f19

Browse files
authored
Merge pull request #41 from Renato776/patch-1
Fixed typo in example
2 parents 17dc34e + 44bfc4d commit ac90f19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsonpost/jsonpost.pde

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ public void setup()
66
smooth();
77

88
PostRequest post = new PostRequest("http://httprocessing.heroku.com");
9-
put.addHeader("Content-Type", "application/json");
9+
post.addHeader("Content-Type", "application/json");
1010
post.addData("{\"on\":false}");
1111
post.send();
1212
System.out.println("Reponse Content: " + post.getContent());

0 commit comments

Comments
 (0)