I'm building a small little promotional game for a client. The game will be hosted on their site and also on appstore/google play. I's a small little game where they will have weekly rewards to customers rank high in the highscore.
They have their own user accounts which people create on the site.
What's the best way to handle authentication in the game? Logging in on their user account, and also posting highscore etc via an API.
When hitting the API how do you define if it's a POST or GET?
Any help appreciated. If it turns out a bit too complex for me to do myself, I will gladly pay for some assistance.