adding GET and POST to the races API