api-explorer icon indicating copy to clipboard operation
api-explorer copied to clipboard

Custom Headers - Make them persistent

Open prime-gram opened this issue 8 years ago • 2 comments

Currently, custom headers get erased after a refresh, and we have to fill them over and over again.

It would be great if we could persist them, so we can use api explorer right away.

prime-gram avatar Nov 28 '16 10:11 prime-gram

You can also add API-specific headers on the configuration DSL, such as:

APIExplorer
  .config(c => {
      c.swagger2API('petshop', 'https://api.swaggerhub.com/apis/anil614sagar/petStore/1.0.0', true)
      c.addHeader('HeaderName', 'HeaderValue')
    }
  .start()

Did you try that?

danielbcorreia avatar Nov 28 '16 10:11 danielbcorreia

AFAIK, he want to have persistent, per user, header values. Right @pedrofmanuel-sky?

cguedes avatar Nov 28 '16 10:11 cguedes