shrijan00003 / restler

A Simple file and git compatible rest client
6 stars 1 forks source link

Post Script command for setting value to environment #20

Closed shrijan00003 closed 2 months ago

shrijan00003 commented 2 months ago

Description

The post script command should be defined along with requests. The post scripts command should be defined as

....
After:
  Env:
    AUTH0_TOKEN: Body[access_token]
    CONTENT_TYPE: Header[Content Type]

Here, Body and Headers will be the reserved word for the response header and Body of the of the response.