updated readme.md
This commit is contained in:
parent
814c6132bc
commit
a9b8eea2e6
@ -22,7 +22,7 @@ Usage
|
|||||||
new JPushover()
|
new JPushover()
|
||||||
.token("MyToken")
|
.token("MyToken")
|
||||||
.user("MyUser")
|
.user("MyUser")
|
||||||
.message("MyPusher")
|
.message("MyMessage")
|
||||||
.push();
|
.push();
|
||||||
|
|
||||||
If you want more information and/or the response from Pushover API, use the JPushoverResponse object.
|
If you want more information and/or the response from Pushover API, use the JPushoverResponse object.
|
||||||
@ -30,7 +30,7 @@ If you want more information and/or the response from Pushover API, use the JPus
|
|||||||
JPushoverResponse jPushoverResponse = new JPushover()
|
JPushoverResponse jPushoverResponse = new JPushover()
|
||||||
.token("MyToken")
|
.token("MyToken")
|
||||||
.user("MyUser")
|
.user("MyUser")
|
||||||
.message("MyPusher")
|
.message("MyMessage")
|
||||||
.push();
|
.push();
|
||||||
|
|
||||||
JPushoverResponse will return the raw HTTP status code, along with the raw JSON response and a convenient boolean if the request was successful or not.
|
JPushoverResponse will return the raw HTTP status code, along with the raw JSON response and a convenient boolean if the request was successful or not.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user