I'm having trouble wrapping my head around how an external call to a Salesforce API resource works. I would like to call
I have created a Connected App within my Salesforce Organization and made note of the Consumer Key and Consumer Secret, which as far as I understand I also have to pass.
What's the best way for me to build my request so that I can start hitting these endpoints? The documentation isn't very clear so I'm hoping for more than just some links to docs I've read already.
EDIT: As some comments have pointed out this may be a bit vague. My specific issue I'm running into is an inability to authenticate and receive my oauth token which I can that use to make API requests. The error I get is
error=redirect_uri_mismatch&error_description=redirect_uri%20must%20match%20configuration. From some searching it seems like a configuration issue, probably in the Connected App I created, but I don't know what is incorrect.
The url I'm trying to authenticate with is also probably important, login.salesforce.com/services/oauth2/authorize with query parameters for client_id, response_type, and redirect_uri. I'm assuming client_id and Connected App Consumer Key are one in the same as I cannot find a client_id referenced anywhere in my Connected App.