Skip to content

Can't set api keys using SetAttribute (Example #8 Broken)  #105

@wbrian-onlineed

Description

@wbrian-onlineed

Example 8 appears not to be working:
https://mrin9.github.io/RapiDoc/examples/example8.html

Expected:
API key should be set in the javascript and should send this data on "TRY IT" requests.

Observed Result:
Adding the recommended api-key string into the box and clicking submit does not actually set the api key. It does set the attribute on the element, but it does not actually send any Authorization header. Additionally, the screen continues to say "Authentication: No API key applied".

Tested On:
FF 71, Chromium 78 on Ubuntu 19.04

Thank you for providing this software. This is a great project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions