Moved all curl requests to be proper NSURLRequests