curl-users
Re: Fwd: Web Forms - cURL
Date: Sun, 9 Dec 2018 19:57:17 +0100
On Sun, Dec 09, 2018 at 07:32:33PM +0400, Hamid Kaashif wrote:
>
> Hi team,
> I am trying to fill in a web form using cURL, the form itself is supposed
> to send a mail, but it isn't sending any mails.
>
> I used the below syntax. (on powershell)
> curl.exe --data "txt_company=valt&txt_Location=dxb&txt_ActivationCode=
> 00111726908643&email=hamidkaashif_at_gmail.com&phone=22254123" http://
> www.so365.in/elicense/elicense.aspx
>
> What could be the issue?
Lots could go wrong. See a long list of possibilities at
https://curl.haxx.se/docs/httpscripting.html The first thing I'd look at is
cookies, then I'd use --trace-ascii to compare what's being sent with what's
being sent in a browser transaction that works.
>>> Dan
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-12-09