Setup: I use the following link to test my REST api in Postman and it works fine:
xxx.xxx.xxx.xxx/API/v1/RefreshTableCache?tables=UniqueLineNumbers,SpoolInfo&jobnumber=1234
Problem: But trying to run it form unix command line it fails.
wget -S -q -O - xxx.xxx.xxx.xxx/API/v1/RefreshTableCache?tables=UniqueLineNumbers,SpoolInfo&jobnumber=1234
Looking at the API output, it is never receiving the jobnumber parameter.
Question:
What is the proper syntax to make wget or even curl pass the parameter??