Skip to content

Commit 43e1d24

Browse files
committed
Switched req arguments
1 parent a2f7510 commit 43e1d24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/securenative/http/SecureNativeHTTPClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public SecureNativeHTTPClient(SecureNativeOptions options) {
3939

4040
@Override
4141
public HttpResponse post(String path, String json) throws IOException {
42-
RequestBody body = RequestBody.create(json, JSON);
42+
RequestBody body = RequestBody.create(JSON, json);
4343

4444
String url = String.format("%s/%s", this.options.getApiUrl(), path);
4545

0 commit comments

Comments
 (0)