elkingahmed
New Member
- Joined
- May 31, 2012
- Messages
- 116
- Reaction score
- 2
is it possible to send tibia login request in HTTP post
like this
and then get the reply back from server as same as the original client
like this
PHP:
POST
Content-Type: application/json
Content-Disposition: form-data; name="metadata"
Content-Length: 86
Connection: Keep-Alive
Accept-Encoding: gzip, deflate
Accept-Language: en-US,*
User-Agent: Mozilla/5.0
Host: myot.com:7171
{"accountname":"myaccount","password":"mypassword","type":"login"}
and then get the reply back from server as same as the original client
PHP:
{"errorCode":3,"errorMessage":"Failed to get account. Try again!"}