Skip to content

Commit 17dc34e

Browse files
authored
Merge pull request #33 from bnsh/master
Changed httpPut to httpPost in PostRequest.java
2 parents 8525c44 + 260ab10 commit 17dc34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/http/requests/PostRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public void send()
114114
}
115115

116116
if (stringEntity != null) {
117-
httpPut.setEntity(stringEntity);
117+
httpPost.setEntity(stringEntity);
118118
}
119119

120120
Iterator<BasicNameValuePair> headerIterator = headerPairs.iterator();

0 commit comments

Comments
 (0)