iOS and Android: prevent errors when no JSON args are passed (like DELETE methods).