Skip to content

Commit

Permalink
If applied, this commit will change json request body from payload to…
Browse files Browse the repository at this point in the history
… data.
  • Loading branch information
UellingtonDamasceno committed Nov 28, 2024
1 parent 9710f2c commit 2b813dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void createMessage(String index, String data) {
connection.setDoOutput(true);

String requestBody = String.format(
"{\"index\": \"%s\",\"payload\": %s}",
"{\"index\": \"%s\",\"data\": %s}",
index,
data
);
Expand Down

0 comments on commit 2b813dc

Please sign in to comment.