Assistance with a wget query


#1

Hi all,

I’m hoping someone can provide some insight/thoughts on an issue I am
having with a wget request for a page from RT.

If I do the following from the web browser I get exactly what I’d
expect, including all of the CustomField requested data:

http://rtserver.internal/AssetTracker/Search/Results.html?user=rtusernam
e&pass=rtpassword&Order=ASC&Query=Type = ‘AssetType’ AND Status !=
‘retired’ AND ‘CF.{CustomValue1}’ > ‘0’ AND Name LIKE
’AssetName’&Rows=&OrderBy=id&Format=‘Name/TITLE:Asset Name’,
Description/TITLE:Description’, ‘CustomField.{CustomerValue1}’,
CustomField.{CustomValue2}

However if I do the same from a command line using wget, as follows, I
get everything the same, except the table cells that previously
contained CustomValue1 and CustomValue2 are now empty. I proved this
doing the same query using Links (Linux CLI browser) as well and get the
same outcome as wget.

Does anyone have any insight why the query, with formatting, works as a
bookmarkable query in a web browser but not from the commandline?

Thanks heaps for this.

BenR