Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #16365
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Login using token with curl |
| Date | 2016-02-06 09:30 -0500 |
| Organization | A noiseless patient Spider |
| Message-ID | <n94vsf$7b8$1@jstuckle.eternal-september.org> (permalink) |
| References | <e8136733-c5c8-4ed6-9c9f-46c9463f7ba7@googlegroups.com> |
On 2/6/2016 8:02 AM, gtweb wrote: > Hi Guys, > > I need to login using curl here: http://twitterfeed.com/ > but I have not idea as to do managing a token as follow > > <input name="authenticity_token" type="hidden" value="xxxxxxxxxxxxxxxxxxxxxxxxx"> > > the token's value change after few seconds randomly. > > I wan Thank in advance sure that somebody will suggest a solution. > You will have to parse the page to get the token. Then, since the form is POSTed, use the CURLOPT_POST option with the data in CURLOPT_POSTFIELDS. -- ================== Remove the "x" from my email address Jerry Stuckle jstucklex@attglobal.net ==================
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Login using token with curl gtweb <tedde.gianluca@gmail.com> - 2016-02-06 05:02 -0800
Re: Login using token with curl Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-06 09:30 -0500
Re: Login using token with curl Luuk <luuk@invalid.lan> - 2016-02-06 15:51 +0100
Re: Login using token with curl Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-06 10:50 -0500
Re: Login using token with curl Luuk <luuk@invalid.lan> - 2016-02-06 15:55 +0100
Re: Login using token with curl gtweb <tedde.gianluca@gmail.com> - 2016-02-06 08:13 -0800
Re: Login using token with curl gtweb <tedde.gianluca@gmail.com> - 2016-02-07 09:20 -0800
Re: Login using token with curl Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-07 14:12 -0500
Re: Login using token with curl gtweb <tedde.gianluca@gmail.com> - 2016-02-08 00:42 -0800
Re: Login using token with curl Jerry Stuckle <jstucklex@attglobal.net> - 2016-02-08 09:50 -0500
csiph-web