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.
vapor
2
puts uri.path
=> http://twitter.com/statuses/friends_timeline.json
actually…
=> “/statuses/friends_timeline.json”
vapor
3
On Tue, Dec 16, 2008 at 2:09 AM, Vapor … [email protected]
wrote:
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?