add routes for POST to api