Return to site

How to Get Active Users list from BizMerlin API using cURL in Git Bash

May 10, 2019 · BizMerlin APIs,

To Get Active Users list from BizMerlin API using cURL in Git Bash

Follow the following steps to get the Active Users list using cURL in Git Bash –

  1. Download and install Git Bash from https://git-scm.com/ to run cURL commands
  2. Download and install cURL for your operating system from https://curl.haxx.se/download.html
  3. URL for Active Users – https://yourcompany.BizMerlin.net/rm/resource/
  4. Set Request type – GET
  5. Get Authorization Access token from User Profile (also called accesskey):

  6. Set HTTP Header Authorization: (key-value pair)

    • Authorization: {“accessKey”: “ZGVtbzpiMmZkODJhOTdjM2I0MjZlOGVmODI5NjUXXXXXXXXXXXX”}

    • Content-Type: application/json

  7. Create your cURL command to get the active users:
  8. JSON Request using curl in Git Bash:
  9. JSON Response received:
  10. To copy the JSON response directly to a .json file
  11. .json file created in Users folder