Giter Site home page Giter Site logo

Comments (6)

huan9yao avatar huan9yao commented on June 2, 2024 1

I try to restart chrome, close other extensions expect Altair, open in new window, it didn't work; then I reinstall Altair extension , it also didn't work;I also try to install extension on Microsoft Edge,it didn't work too
When install version 6.4.1, all the settings are the same as version 6.4.2,it work.
It also has been tested on my colleague's computer as well, and it didn't work.

from altair.

huan9yao avatar huan9yao commented on June 2, 2024 1

steps:
1.open extensions Altair
2.click new window, open new window
3.choose "POST" method and enter URL,
4.click Auth, Auth type select "Bearer Token", and paste the generated token into the "Bearer token" input box
5.reload docs and open docs to see the schema
6.enter query and send request
when step5/6, open Devtools, set "network" the request header.
I capture screen, steps like below gif.

Apr-22-2024 15-22-33

from altair.

imolorhe avatar imolorhe commented on June 2, 2024

Hey I just checked and the authorization header is set correctly for me. Maybe there's another reason why it didn't work?

Can you try with a new window? Set the URL, set the authorization to bearer and set the bearer token.

from altair.

imolorhe avatar imolorhe commented on June 2, 2024

Doo you have exact steps you took so I can try to reproduce it?

from altair.

imolorhe avatar imolorhe commented on June 2, 2024

Thanks! I have been able to reproduce the issue. I wasn't seeing it earlier because it only affects you when you don't have pre-request scripts enabled, which I did. Sorry for the trouble! I'll work on fixing this.

In the meantime, you can workaround it by simply enabling pre-request scripts (you don't need to add any script, just enabling it should be sufficient)

from altair.

imolorhe avatar imolorhe commented on June 2, 2024

You can test the fix here

from altair.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.