Fix api routes to use get instead post