On 01/12/16 04:44, jeremy bentham wrote:
  lynx -post_data <site>
  username or barcode: <username>
   (the name of the username field)
  password: <password>
  ---
  <CR><CR>

That is not a standard format for post data. Post data should be directly in the wire format, see: <http://stackoverflow.com/questions/14551194/how-are-parameters-sent-in-an-http-post-request>. Also, it is unlikely that anyone would include spaces in the wire format for forms, and if they did, they would need to be replaced by "+" or "%20" The labels on the displayed form need bear no resemblance to the wire format.

I would assume that Lynx sends application/x-www-form-urlencoded as the content-type, so can only post in that format.



_______________________________________________
Lynx-dev mailing list
Lynx-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to