title: Unable to fetch NSData from URL objective c
body: <p>Following <a href="http://www.intertech.com/Blog/basic-json-parsing-in-ios/" rel="nofollow">this tutorial</a> I wrotte this code:</p>
  
  <pre><code>NSData* json = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:@"http://api.fessor.da.stanids.office/homework/index/?rp[token]=app&amp;rp[workspace]=parent&amp;child_id=22066&amp;type=parent&amp;start_date=2014-05-01&amp;end_date=2014-05-01"]];
  
  NSLog([NSString stringWithFormat:@"%@",json]);
  </code></pre>
  
  <p>But i get nil when i log the result.
  Can anybody tell me if this tutorial is simply bad or I am doing something wrong somewhere?</p>
  
  <p>P.S. I am calling this code in viewDidLoad.</p>