login POST form with cURL

后端 未结 1 615
情话喂你
情话喂你 2021-02-06 03:27

I am trying to login to the website www.centralgreen.com.sg/login.php using cURL (first time user of cURL)

I used the Tamper plugin for Firefox, and I have 4 POST inputs

1条回答
  •  南笙
    南笙 (楼主)
    2021-02-06 04:19

    Try using the -F option instead of --data.

    http://curl.haxx.se/docs/manpage.html#-F

    Basically, this changes the content type header to:

    Content-Type: multipart/form-data
    

    This may give you a better result.

    0 讨论(0)
提交回复
热议问题