14 lines
262 B
Python
Executable file
14 lines
262 B
Python
Executable file
#!/usr/bin/python
|
|
|
|
from requests import post
|
|
|
|
payload={
|
|
'client_name':'anotherone',
|
|
'redirect_uris':'localhost:5000'
|
|
}
|
|
|
|
def register_app():
|
|
resp = post('https://gts.werefox.cafe/api/v1/apps', data=payload)
|
|
return resp.text
|
|
|
|
print(register_app())
|