• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
HTTP POST multipart/form-data?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HTTP POST multipart/form-data?


  • Subject: HTTP POST multipart/form-data?
  • From: <email@hidden>
  • Date: Thu, 10 Apr 2003 17:29:15 -0700

Hey there,

I'm trying to script a batch file upload via HTTP POST using AppleScript.
After looking at IE's dictionary, it looked like I could just use 'OpenURL'
with a 'MIME Type' of 'multipart/form-data' and be set. (Had to create the
correctly-formatted 'FormData' of course, but I did that).

However, it seems like IE's either not sending it properly (my webserver is
seeing the type as 'application/x-www-urlencoded') or I misunderstood
completely.

Poking around with Safari hasn't revealed anything, either, though that
could be from a lack of documentation, not a lack of functionality.

Does anyone know if this is possible? I can easily do it using cURL, but
then I lose the nice page after the upload and whatnot.

Thanks for any pointers!

Don
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: HTTP POST multipart/form-data?
      • From: Emmanuel <email@hidden>
  • Prev by Date: Understanding System Events...
  • Next by Date: Re: Understanding System Events...
  • Previous by thread: Re: Understanding System Events...
  • Next by thread: Re: HTTP POST multipart/form-data?
  • Index(es):
    • Date
    • Thread