What is the REST API equivalent of this curl request:
curl -k -u ***** -X GET https://example.com
If -u is something like "-u jim:passwo