채팅을 사용하려면 로그인하십시오.

Invalid session after logging in successfully

abid115
Sep 23 2021 at 10:15
게시물2
Hi
I am using JSON API and I can log in successfully. I get my sessionID. Using that session ID, I try to get accounts or log out. It shows an invalid session ID in both cases.
URL
https://www.myfxbook.com/api/login.json?email=*****&password=******
Response of log in
{'error':false,'message':'','session':'**************'}
URL
https://www.myfxbook.com/api/get-my-accounts.json?session=**************
Get accounts response
{'error':true,'message':'Invalid session.','accounts':[]}
URL
https://www.myfxbook.com/api/logout.json?session=**************
Response of logout
{'error':true,'message':'Invalid session.'}
에 댓글을 달려면 로그인하십시오.