Reputation: 11
I am having problems to get the following url with curl (in chrome works perfectly)
curl --user "user:pass" -v http://www.reuters.com/finance/stocks/incomeStatement/detail?stmtType=INC'&'perType=INT'&'symbol=GG
Any clue?
Upvotes: 1
Views: 38
Reputation: 24393
Surround your URL with '
marks:
curl --user "user:pass" -v 'http://www.reuters.com/finance/stocks/incomeStatement/detail?stmtType=INC&perType=INT&symbol=GG'
Surround your URL with "
marks:
curl --user "user:pass" -v "http://www.reuters.com/finance/stocks/incomeStatement/detail?stmtType=INC&perType=INT&symbol=GG"
Escape the &
characters:
curl --user "user:pass" -v http://www.reuters.com/finance/stocks/incomeStatement/detail?stmtType=INC\&perType=INT\&symbol=GG
Upvotes: 1