Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BR] Issue with documentation example #10

Open
vg-identance opened this issue Feb 10, 2023 · 0 comments
Open

[BR] Issue with documentation example #10

vg-identance opened this issue Feb 10, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@vg-identance
Copy link

In SDK documentation on page https://docs.regulaforensics.com/develop/face-sdk/mobile/http-request-customization/ios/ exists issue with wrong setting parameters of header of iOS requests. Header and value arguments are misplaced.
Should be
request.addValue("Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmYWNlLXNkayI6IkhhdmUgYSBncmVhdCBkYXkhIn0.IPoW0D0LnMv_pL4U22MuIhDNGIdK34TaHhqhKBAaBEs", forHTTPHeaderField: "Authorization")
instead of
request.addValue("Authorization", forHTTPHeaderField: "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmYWNlLXNkayI6IkhhdmUgYSBncmVhdCBkYXkhIn0.IPoW0D0LnMv_pL4U22MuIhDNGIdK34TaHhqhKBAaBEs")

@vg-identance vg-identance added the bug Something isn't working label Feb 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant