[prev in list] [next in list] [prev in thread] [next in thread]
List: ruby-talk
Subject: Re: Mechanize with customer REQUEST to POST
From: Tamara Temple <tamouse.lists () gmail ! com>
Date: 2013-07-27 1:23:28
Message-ID: 4B28EBE9-C245-4296-966C-2625820C788A () gmail ! com
[Download RAW message or body]
On Jul 26, 2013, at 1:34 PM, Tim Thompson <lists@ruby-forum.com> wrote:
> Is there a way in Mechanize to add a few custom fields to the REQUEST
> before POST?
>
[snipsnip]
>
> Mainly, I like to know how to get Mechanize (or any similar) to add
> these to the REQUEST:
>
> "headersSize":
> "bodySize":
> "postData": {
> "mimeType": "text/plain",
> "text": "..."
> }
>
>
> Any pointer is much appreciated this.
Look at http://mechanize.rubyforge.org/Mechanize.html#Requests where it explains how \
to include headers in the request.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic