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={
|
||||
"title": title,
|
||||
"description": description,
|
||||
"message": c,})
|
||||
"message": c,
|
||||
"extras": {
|
||||
"client::display": {
|
||||
"contentType": "text/markdown"
|
||||
}}
|
||||
})
|
||||
print("Gotify",res)
|
||||
# try:
|
||||
# res = res.json()
|
||||
|
Loading…
Reference in New Issue
Block a user