ArchGPT / insomnium

Insomnium is a fast local API testing tool that is privacy-focused and 100% local. For testing GraphQL, REST, WebSockets and gRPC. This is a fork of Kong/insomnia
MIT License
3.33k stars 125 forks source link

How to use authentication automation? Variables? #90

Open eabase opened 8 months ago

eabase commented 8 months ago

Expected Behavior

I expect to be able to send an authentication request and get an authentication token, and that token get saved in a variable that can be used in subsequent requests.

Actual Behavior

No idea, you don't have any documentation

Reproduction Steps

.

Is there an existing issue for this?

Additional Information

No response

Insomnium Version

latest

What operating system are you using?

Windows

Operating System Version

Microsoft Windows 11 Enterprise (64-bit)

Installation method

download from here

Last Known Working Insomnium version

No response

timozn commented 8 months ago

This Plugin can provide the functionality you described.

MacFJA commented 4 months ago

You can use the response of another request to fill any information.

In the field where you want to use the response data press ctrlspace, then search for Response → Body Attribute A red dynamic variable will appear, click on it to open edition modal

And voilà, you have transmitted a value between a parent/child (requirement/usage) request