question

Kevin Morris avatar image
Kevin Morris asked Phong Vu answered

SOLVED: Lazarus app (Free Pascal) GetToken using Indy components

The attached file is for a Lazarus (Free Pascal) app that obtains an "access_token" from the RingCentral REST server. Once you obtain a token successfully, the rest of the API is an open book, and shd be easy. This app uses the Indy components:

TIdSSLIOHandlerSocketOpenSSL

TIdHTTP

TIdLogDebug

If some kind moderator wd put this .zip file in the appropriate library, that wd be much appreciated.

lazarus_free_pascal_get_token.zip

rest api
1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Phong Vu avatar image
Phong Vu answered

Hi Kevin,

It looks like you could finally be able to login. Congrats!

Also, thanks for your intention to share your code with the community. It would be helpful if you create a GitHub repo share the repo link rather attaching the zip file.

1 |3000

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys