made the post request more readible with params