Compile fix. Fix put/post requests with empty body. Allow request body in both put & post.