updated endpoints, params are sent in body