AFNetworking — get redirect URL
问题 Use a AFNetworking against a REST API. POST to resources/ Server responds with 303 -> see resources/3928.json The the server is giving information here: the id 3928 has been assigned to your resource. Is it possible to learn this URL during the POST operation? Also, I don't really need this resource. Can I avoid actually following the redirect? Another option is to use a 200 with {status:"ok",insert_id:3928} but it feels like this is not necessary 回答1: -(void)call { NSMutableDictionary