request function

Request a resource from the PGS REST API