Method Community

 

Getting Items from API to front-end website using service account

Last post 09-30-2020 1:18 PM by Method_Senisa. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-25-2020 3:24 PM

    Getting Items from API to front-end website using service account

    Hello!

    I have a public front-end website that will display the items from method.

    To connect with the API, I need a user account, is that right?

    So should my website store a user account that I use to connect to the API and display the data?

    Also, Has anyone successfully done this using a webbuilder with built-in themes such as shopify or wix?

  • 09-30-2020 1:18 PM In reply to

    Re: Getting Items from API to front-end website using service account

    Hey Bryan,

    It looks like your situation might benefit from using an API key to authorize requests rather than storing user account credentials. You can learn more about how to request an API key here under "Step 2: Setup Authorization". Storing an API key rather than user credentials is considered safer as it prevents anyone who comes across the key from having direct access to the account.

    As for your second question, I'm not aware of any specific cases but if the web builder supports making external API requests it should be able to make requests with our API.

    Hope this helps!

Page 1 of 1 (2 items)