updated post request to use :body instead of :query-params