Vapor
(Vapor ..)
1
myurl =
"http://twitter.com/statuses/friends_timeline.json?since_id=1060198339"
uri = URI.parse(myurl)
puts uri.path
=> http://twitter.com/statuses/friends_timeline.json
Where has "?since_id=1060198339" gone?
uri.path then brings different data than I need.
···
--
Posted via http://www.ruby-forum.com/.
Vapor
(Vapor ..)
2
puts uri.path
=> http://twitter.com/statuses/friends_timeline.json
actually...
=> "/statuses/friends_timeline.json"
···
--
Posted via http://www.ruby-forum.com/\.
myurl =
"http://twitter.com/statuses/friends_timeline.json?since_id=1060198339"
uri = URI.parse(myurl)
puts uri.path
=> /statuses/friends_timeline.json
Looks right per the URI doc...
Where has "?since_id=1060198339" gone?
What does `uri.query` print?
···
On Tue, Dec 16, 2008 at 2:09 AM, Vapor .. <vaqas.ashraf@gmail.com> wrote:
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com