How to use ApiKey in ajax call? #5505
-
I'm trying to call Stash API RunPluginOperation using JQuery ajax call, but I'm having problems when I try to access a password protected Stash setup.
I've tried multiple variations of the url param name for ApiKey, and they all return a 401 Unauthorized error. This question is similar to question #3744 |
Beta Was this translation helpful? Give feedback.
Answered by
David-Maisonave
Nov 23, 2024
Replies: 1 comment
-
I figured it out. Need to do a ajaxSetup call before the ajax call.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stg-annon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I figured it out. Need to do a ajaxSetup call before the ajax call.
Example: