Skip to content

Commit 0b1971f

Browse files
committed
Add method to README client example
1 parent a4f0201 commit 0b1971f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ import { createClient } from "@borderlesslabs/json-rpc";
6969

7070
const client = createClient(methods, async x => {
7171
const res = await fetch("...", {
72+
method: "POST",
7273
body: JSON.stringify(x),
7374
headers: {
7475
"Content-Type": "application/json"

0 commit comments

Comments
 (0)