Skip to main content

Instance

  • instance is very handy feature for adding predefined properties in http-pro request.


  • Here in get request will have both x-firstname and x-lastname header.

Extend Instance

  • hp.extend() is useful for creating extened version for http-pro instance. it will have all the properties of current instance.


  • Here in get request will have both x-firstname and x-lastname header and baseUrl will be https://jsonplaceholder.typicode.com