Answer the question
In order to leave comments, you need to log in
How to get data via ajax?
I need to get data from bitbucket using its api, for example, I need to get all my repositories, but the problem is in basic authorization, where should I specify data (login and password from bitbucket) when sending a request?
$.get('https://bitbucket.org/api/1.0/user/', function(data) {
console.log(data);
});
Answer the question
In order to leave comments, you need to log in
Like this: stackoverflow.com/questions/5507234/how-to-use-bas...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question