games api get and post