Re: Send POST data to browser
Re: Send POST data to browser
- Subject: Re: Send POST data to browser
- From: Jerry Krinock <email@hidden>
- Date: Thu, 17 Sep 2009 08:52:20 -0700
I'm not sure I understand what you want to do, but here's something
that has worked for me and may be what you want:
Instead of sending the POST using NSURLConnection, you can write a
temporary html file. In this html file, you've inserted an onLoad()
javascript which immediately sends the POST, and a button for users
that don't have javascript enabled. Now, tell NSWorkspace to open
this temporary file. The browser will send the POST, and thus the
browser will get back the response.
Also, a better forum to discuss this issue would be email@hidden
.
_______________________________________________
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
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden