curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

can't login with curl in forum

From: mierdatutis mi via curl-users <>
Date: Wed, 13 May 2020 11:58:57 +0200

I'm trying to login in a forum. I capture network traffic with development
tools with chrome and I see post method. Then I make call with curl but I
can't login in forum:
My code:

    curl '' \
      -H 'Connection: keep-alive' \
      -H 'Cache-Control: max-age=0' \
      -H 'Upgrade-Insecure-Requests: 1' \
      -H 'Origin:' \
      -H 'Content-Type: application/x-www-form-urlencoded' \
      -H 'User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36' \
      -H 'Accept:
      -H 'Referer:' \
      -H 'Accept-Language:
en-US,en;q=0.9,es;q=0.8,pt;q=0.7,zh-CN;q=0.6,zh;q=0.5,de;q=0.4,fr;q=0.3' \
      -H 'Cookie: __unam=913965-17172e02dcf-11b0effe-2;
__utmc=106217502; PHPSESSID=n9etr6p57k84c6gqo6dj0q8n3t; __utmt=1;
__utmb=106217502.43.10.1589353702' \
      -H 'x-signature: oyQbrF4XBHg40wQdzJytES6thC9z2z+rvs+KQpcIn8M=' \
      -H 'timestamp: 1589063737703' \
      --data ''
      --compressed \

Any help? Many thanks and sorry for my English!

Received on 2020-05-13