Consume web services in PhantomJS

How to use phrequest module for interacting with web services via PhantomJS script