#!/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())