ios - How would I create an app for a website that does not have an API and uses ASP.NET? -


Actually what I am doing is to create a basic interface for that website, which has no API It will be a third party app that will provide the same functionality of the customized website just for iOS. The actual problem I run is sending user-entry data to the website and receiving it because it is using ASP.NET, which I am not fully aware of and the user is logged in to the website Have to do.

This is a complex question, but I am sitting in a class and even it is not even sure where to go from here.

It seems as if you are asking if you can create an iOS app that is second to the API Can you interact with the website? If my understanding is correct, then there is actually only one option which I can think.

You need to make your iOS app call the HTTP (s) and simulate the GET / Post on the ASP.NET based website. As requested, it was a "real" user. You will do this by using the original IOS HTTP client (for example the NS URL session) and you will need to strip and parse the HTML obtained from the website to obtain the necessary "raw" data for your iOS app.

The situation you are describing is very complex and very brittle (any changes are made to the ASP.NET website every time and you have to change your iOS app) and I I would like to avoid this method of integration at all costs.


Comments