سؤال

I am writing an iOS app which will have to fetch some data from a server. Is it better to use WSDL and SOAP to get these data from a web service, or should i use JSON?

هل كانت مفيدة؟

المحلول

JSON is good if you don't have any security stakes. Otherwise, you should use a secured data exchange protocol like SOAP or maybe OAuth.

نصائح أخرى

Honestly where I've worked with JSON alot i would personally recommend it because it's a really easy way to send data and to parse data. If your going to be fetching from a server using mysql or something along those lines I would recommend you go with JSON.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top