Add data to PUT and POST request even it is empty.