I’m thinking of creating an application for the iPhone and Android, which will need to access the shared backend to get account information. Can I access the web service via https? What other way would allow me to have one backend interface available to both?
They work on http and https, which are a fairly common protocol. I suggest you go with a RESTful web service so that you provide your service through a URI, for example http://www.myservice.com/weather/zip/98007 , which will return an XML block that can be parsed by the client.
If you start from scratch, I would definitely go with a service RESTfulthat returns / accepts JSON... there are many libraries for both platforms that will accept JSONand turn them into arrays and dictionaries.
RESTful
JSON
- RESTful, HTTP / HTTPS. Ruby on Rails, 99% , iPhone ObjectiveResource, Rails-. , Android, HTTP, . ObjectiveResource, . :
http://iphoneonrails.com
, , - , - Android XML, iPhone plist ( XML, ). POST , XML.
, , iPhone, , HTTP.
Source: https://habr.com/ru/post/1706052/More articles:https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1706047/top-things-to-look-for-when-testing-web-pagessite&usg=ALkJrhiZ41dU8zXg8ggsW9jzExG8MCO3HgHow to convert date to era in Perl? - dateTrigger to capture schema changes on server - sqlSpring MVC i18n Web Application - javapasting a value into an SQL table and using a SELECT statement - sqlHow to specify an order to the delivery address and billing address in rails - ruby-on-railsRails Частичная рендеринг приводит к пустой странице? - ruby-on-railsRhino Mocks: метод mocked возвращает null - mockingHow to override the method to call the superclass "superclass"? - javaAltGr in System.Windows.Forms.Keys enumerator - c #All Articles