Skip to content

Unable to pass authorization header via command prompt #730

Answered by ldemailly
MandarJKulkarni asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure, something is wrong with your token or your backend, see:

% fortio curl -H "authorization:Bearer token" http://debug.fortio.org
10:35:48 I scli.go:88> Starting Φορτίο 1.53.1 h1:aeAWrnkXIBEdhueQLRwvaM5INulybDP+ZgOChgKz/NQ= go1.20.2 arm64 darwin
HTTP/1.1 200 OK
Content-Type: text/plain; charset=UTF-8
Date: Sat, 11 Mar 2023 18:35:48 GMT
Content-Length: 319

Φορτίο version 1.53.0 h1:OF6ArR3f7UEYqPsr357WTk8AFWKQ38Xz7wiBipK8ou4= go1.19.6 amd64 linux (in fortio.org/proxy 1.12.0)
Debug server on ol1 up for 136h42m29s
Request from 99.73.39.83:63507

GET / HTTP/1.1

headers:

Host: debug.fortio.org
Authorization: Bearer token
User-Agent: fortio.org/fortio-1.53.1

body:

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ldemailly
Comment options

@MandarJKulkarni
Comment options

@ldemailly
Comment options

@MandarJKulkarni
Comment options

Answer selected by ldemailly
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants