Skip to content

Commit 1339621

Browse files
authored
Merge branch 'master' into chore/examples
2 parents 9b3a6c8 + 25ba69e commit 1339621

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

.classpath

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
<classpath>
33
<classpathentry kind="src" output="bin" path="src"/>
44
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
5-
<classpathentry combineaccessrules="false" kind="src" path="/processing-core"/>
65
<classpathentry kind="lib" path="lib/commons-codec-1.4.jar"/>
76
<classpathentry kind="lib" path="lib/commons-logging-1.1.1.jar"/>
87
<classpathentry kind="lib" path="lib/httpclient-4.1.2.jar"/>
98
<classpathentry kind="lib" path="lib/httpclient-cache-4.1.2.jar"/>
109
<classpathentry kind="lib" path="lib/httpcore-4.1.2.jar"/>
1110
<classpathentry kind="lib" path="lib/httpmime-4.1.2.jar"/>
11+
<classpathentry kind="lib" path="core.jar"/>
1212
<classpathentry kind="output" path="resources/code"/>
1313
</classpath>

core.jar

1.02 MB
Binary file not shown.

examples/jsonpost/jsonpost.pde

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
import http.requests.*;
22

3-
public void setup()
4-
{
3+
public void setup() {
54
size(400, 400);
6-
smooth();
7-
85
PostRequest post = new PostRequest("http://dummy.restapiexample.com/api/v1/create");
96
post.addHeader("Content-Type", "application/json");
107
post.addData("{\"name\":\"Daniel Shiffman\",\"salary\":\"123\",\"age\":\"23\"}");

resources/build.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# For windows the default path to your sketchbook would be
1818
# ${user.home}/My Documents/Processing (make adjustments below).
1919

20-
sketchbook.location=${user.home}/Dropbox/Processing
20+
sketchbook.location=${user.home}/Documents/Processing
2121

2222

2323

@@ -38,7 +38,7 @@ sketchbook.location=${user.home}/Dropbox/Processing
3838
# Uncommenting the line below will overwrite the classpath.local.location from
3939
# above.
4040

41-
classpath.local.location=/Applications/Processing-3.0.1.app/Contents/Java/core/library
41+
classpath.local.location=/Applications/Processing-3.5.4.app/Contents/Java/core/library
4242

4343

4444
# Add all jar files that are required for compiling your project to the local

src/http/requests/DeleteRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package http.requests;
2+
13

24
// this part will get folded into the HTTP library if all goes well:
35
import java.io.File;

src/http/requests/PutRequest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package http.requests;
2+
13

24
// this part will get folded into the HTTP library if all goes well:
35
import java.io.File;

0 commit comments

Comments
 (0)