Dec. 2, 2011
10:54 p.m.
On 02 Dec 2011, at 22:05, Sean P. DeNigris wrote:
Can Zinc do this easily (e.g. automatically handle hidden fields)? If not, is it planned? Where can I find an example?
Sure, have a look at ZnClientTests>>#testPostForm (and possibly #testPostMultipart). The API you are looking for is in ZnClient>>#formAt:put: (or #formAdd:) and friends. This would be an example: ZnClient new url: 'http://myserver.com/login'; formAt: 'username' put: 'john'; formAdd: 'password' -> 'secret'; post. HTH, Sven