mirror of
https://github.com/ZuneDev/PyZuneCommerceServer.git
synced 2026-07-27 13:12:13 -07:00
Change account endpoint to use POST
This commit is contained in:
@@ -14,8 +14,8 @@ app = Flask(__name__)
|
||||
musicbrainzngs.set_useragent("Zune", "4.8", "https://github.com/yoshiask/PyZuneCommerceServer")
|
||||
|
||||
|
||||
@app.route(f"/v2/<string:locale>/account/signin")
|
||||
def music_get_album(locale: str):
|
||||
@app.route(f"/v2/<string:locale>/account/signin", methods=['POST'])
|
||||
def account_signin(locale: str):
|
||||
print(request.data)
|
||||
signinReq: Document = xml.parseString(request.data.decode('utf-8'))
|
||||
tunerInfo: Element = signinReq.firstChild
|
||||
|
||||
Reference in New Issue
Block a user