Closed longlostnick closed 11 years ago
What requests wouldn't send any attributes to the API? I'd like to understand the use case a little more before proceeding. Is your point that we should fail the request clientside?
DELETE and some PUT requests. Specifically the new CRUD stuff I've been adding recently (contacts/subscriptions/savedsearches). The new subscriptions has an example of a PUT with no request body when subscribing a contact to a subscription. (https://github.com/sparkapi/spark_api/pull/16/files#L2R19)
Fixed with bb76fd92359a64e46d26fe28f50b167b9cfc10fe
It looks like we're sending
"D" => {}
with requests even if there are no other attributes or data being sent.