This question already has an answer here:
I am in need of using the Stack Overflow API for my website. I've gone through the documentation and I got the API key and client credentials. But my question is, I am able to send my question through the endpoint of Stack Overflow like this:
"https://api.stackexchange.com/2.2/search/advanced?order=desc&sort=relevance&q=" + encodeUrl(arguments) + "&accepted=True&site=stackoverflow";
"arguments" here is a string variable containing a Question.
But my question is, then what's the use of the API key and other credentials? If there are advantages, can you please tell me how to send a request using credentials?