use headers to auth when posting
This commit is contained in:
parent
effdd45e10
commit
29e63b8b14
1 changed files with 1 additions and 3 deletions
|
|
@ -18,8 +18,6 @@ text = text.replace('@','@').replace('#','#')
|
|||
print(text)
|
||||
|
||||
requests.post("https://beeping.synth.download/api/iceshrimp/notes", json={
|
||||
'i': secrets__.TOKEN,
|
||||
|
||||
'visibility': 'home',
|
||||
'text': text,
|
||||
})
|
||||
}, headers={"Authorization": f"Bearer {secrets__.TOKEN}"})
|
||||
Loading…
Add table
Add a link
Reference in a new issue