Calling a REST API with a header

Can some one help me with a command to call a REST API.
for example:to call a REST API(GET https://test.qatest.com) that requires *.mytest.com as a referrer header?

As part of the header you would send:

Referer: *.mytest.com\r\n