Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • i must add / after -LX ? Commented Oct 9, 2016 at 8:00
  • @MehranGoudarzi No, just do curl -LX POST -F '[email protected]' -F 'password=123' http://my.site.com/login, if other things are correct then this should work. Commented Oct 9, 2016 at 8:02
  • i did it but seems not login . i login with Chrome and see view source , that Different from curl show . Commented Oct 9, 2016 at 8:07
  • @MehranGoudarzi Check my edits. Commented Oct 9, 2016 at 8:09
  • @MehranGoudarzi Make sure the HTML directives are correct, otherwise this should work. Commented Oct 9, 2016 at 8:36