Fix body not sending for PUT/POST/PATCH requests
The ternary operator for inserting the body into the request was inverted so it was always undefined (lol) this has been fixed.
The ternary operator for inserting the body into the request was inverted so it was always undefined (lol) this has been fixed.