RESTED icon indicating copy to clipboard operation
RESTED copied to clipboard

Ability to extract data from replies into variables

Open Snapperfish opened this issue 9 years ago • 1 comments

In a use case where the response is, say, a simple JSON object, allow data from the response to be transferred to a variable. This could be done by introducing a regex to the key/value pair.

e.g. given a definition for variable A which has regex A, apply regex to the response and put the value of the match or first group into value for key variable A. Then the value for key variable A can be used in another request.

Snapperfish avatar Mar 17 '16 00:03 Snapperfish

Very interesting idea indeed. Thanks for the suggestion, I'll look into this some time.

eliihen avatar Mar 17 '16 07:03 eliihen