Afficher un message
Vieux 12/05/2008, 18h01   #2
Martin Boese
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Net:HTTP post question


I just read that WWW::Mechanize has an interface for fileuploads, see
EXAMPLES.txt in the API doc:

http://mechanize.rubyforge.org/mechanize/

Martin



On Monday 12 May 2008 15:06:43 Mikel Lindsaar wrote:
> Heya all,
>
> I am using Net::HTTP to do post actions to a server, but I have to
> include a file in the post action.
>
> I found this:
>
> http://www.realityforge.org/articles...-via-post-with
>-net-http
>
> Is that really the only way to add a file to a POST action using Net::HTTP?
>
> What I want is the equiv of adding a file in a file select box in a
> form using post.
>
>
> Mikel




  Réponse avec citation
 
Page generated in 0,05214 seconds with 9 queries