Rest API KNIME Hub

how do I make a request to knime api using the get fetch method in javascript without a 401 error code like the following?
**NOTES.
all basic authentication parameters and request parameters to the endpoint are correct but still error 401
image

BASIC authentication can only be used with an application password. Your personal login credentials only work with OAuth.