We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17dc34e + 44bfc4d commit ac90f19Copy full SHA for ac90f19
examples/jsonpost/jsonpost.pde
@@ -6,7 +6,7 @@ public void setup()
6
smooth();
7
8
PostRequest post = new PostRequest("http://httprocessing.heroku.com");
9
- put.addHeader("Content-Type", "application/json");
+ post.addHeader("Content-Type", "application/json");
10
post.addData("{\"on\":false}");
11
post.send();
12
System.out.println("Reponse Content: " + post.getContent());
0 commit comments