Add body for put and post requests.