Gotify增加extras项
This commit is contained in:
parent
9beece2f41
commit
8500ea3ab7
@ -66,7 +66,12 @@ _{datetime.datetime.now()}_
|
|||||||
res = requests.post("http://106.52.193.182:10004/message?token=AK9uikNvF7HxlGG", json={
|
res = requests.post("http://106.52.193.182:10004/message?token=AK9uikNvF7HxlGG", json={
|
||||||
"title": title,
|
"title": title,
|
||||||
"description": description,
|
"description": description,
|
||||||
"message": c,})
|
"message": c,
|
||||||
|
"extras": {
|
||||||
|
"client::display": {
|
||||||
|
"contentType": "text/markdown"
|
||||||
|
}}
|
||||||
|
})
|
||||||
print("Gotify",res)
|
print("Gotify",res)
|
||||||
# try:
|
# try:
|
||||||
# res = res.json()
|
# res = res.json()
|
||||||
|
Loading…
Reference in New Issue
Block a user