I'm attempting to send a POST request from my Cocoa app, and then
handle the subsequent download. I've gone through a bit of
information via a blog regarding how to actually send a post request,
and have attempted to implement it, however I seem to be having an
issue. My code follows:
2007-11-11 02:55:31.556 Eve Online Monitor[10353:10b] Download Started
2007-11-11 02:55:31.868 Eve Online Monitor[10353:10b] Response Received:
{
"Cache-Control" = private;
"Content-Type" = "application/xml; charset=utf-8";
Date = "Sun, 11 Nov 2007 07:55:31 GMT";
Server = "Microsoft-IIS/6.0";
"Transfer-Encoding" = Identity;
"X-Aspnet-Version" = "2.0.50727";
"X-Powered-By" = "ASP.NET";
}
2007-11-11 02:55:31.872 Eve Online Monitor[10353:10b] Download failed!
Error - Cannot open file http://api.eve-online.com/account/Characters.xml.aspx
No manner of modifying the code has resulting in any variation, which
is quite odd cause simply going to the URL itself provides a result.
However, doing a curl on the fully formed url returns fine. Any
assistance would be greatly appreciated.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com