AFNetworking problem

I am learning AFNetworking using,

https://www.raywenderlich.com/59255/afnetworking-2-0-tutorial

But, I can’t get data from the url,
http://www.raywenderlich.com/demos/weather_sample/weather.php?format=json
The server returns an error,‘No input file specified’ .Please help me.

Thank you.

@cmx Thanks very much for your post. To be fair, the article is over three years old, so more than likely some of the content may not be supported. You may want to consider using a different REST API to use with AFNetworking. AFNetworking is in Objective-C, so you may want to either learn to use:

AlamoFire

for Swift, or try to use the REST API used in that article, with AFNetworking from the article you’re trying to work through.

I hope this helps!

Thank’s for your help,it’s useful for me:grinning:

Anytime!

Take care :slight_smile:

This topic was automatically closed after 166 days. New replies are no longer allowed.