Hi,
I'm new to APIs but get the idea.
I'm trying to call Dynamics BC to get some info for an external app we are building.
I managed to get a token and make a call via PostMan, however, I can't seem to get a token from a cURL call externally.
I have all the pieces of info (client_id,client_secret, auth url, token url etc.).
If anyone can tell me in a simple way how to get a token (or even just the code to ask for a token) I would be very grateful.
So something like:
1. call url 1 GET : login.windows.net/.../authorize cURL params: client_id: 123456 client_password: 123456 etc
2. call url 2 GET: url2 cURL: xxxxxxx
3. call url 3 POST: ......./token cURL:xxxxxx
I see a lot of conflicting and unclear info and guides but can't get it to quite work.
Thanks!