swapped url parameters for post