Put the params in the right place

Only add the params to the body if/when there are some