Skip to content

Commit 257c094

Browse files
committed
Merge pull request koush#323 from andhie/patch-1
Display Request Payload in Chrome Inspector
2 parents af5618a + 03139b2 commit 257c094

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AndroidAsyncStetho/src/com/koushikdutta/async/stetho/StethoMiddleware.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public String method() {
6161
@Nullable
6262
@Override
6363
public byte[] body() throws IOException {
64-
return null;
64+
return request.getBody() != null ? request.getBody().toString().getBytes("UTF-8") : null;
6565
}
6666

6767
@Override

0 commit comments

Comments
 (0)