Salesforce Developer Tutorial - How to create a custom REST Resource in Apex

Поділитися
Вставка
  • Опубліковано 16 жов 2024

КОМЕНТАРІ • 17

  • @joshevans5461
    @joshevans5461 7 місяців тому

    This was a great tutorial. Very informative, thanks!

  • @willcalltickets
    @willcalltickets 3 роки тому +2

    This was great. Would love to see a video where you grab the access token in an external app.

  • @JoshMars_
    @JoshMars_ Рік тому

    Great video, really helped me. Thank you very much.

  • @windylou72
    @windylou72 Рік тому

    Hi I am so glad this video is still here to view. I am new to API's and I am seeing how one of our off shore dev folks set one up for us recently. In my instance which is Enterprise, I do not have the Access and manager your data (api). As a matter of fact, looking at your screenshot, I do not have any of the options that start with Access and manage. Would anyone know the reason for this. My only good option at this point is the Full access

  • @pb9075
    @pb9075 2 роки тому

    this is insightful

  • @madalinalexa110
    @madalinalexa110 Рік тому

    Very nice video

  • @Peter-pd9hy
    @Peter-pd9hy 3 роки тому +1

    Hey Matt, I've noticed you use underscores when naming classes. Is this a common practice?

    • @CodingWithTheForce
      @CodingWithTheForce  3 роки тому +2

      To be honest I’ve not looked into it much but I believe so. I’ve always preferred underscores as I believe it makes the class names easier to read and ease of understanding is one of the things I strive for the most when I write my code. That way any other dev looking at my code can easily understand what’s happening and don’t need too much of a walkthrough on how it works (if any).

  • @matthewthehuman1744
    @matthewthehuman1744 3 роки тому +2

    unfortunately I'm not having any luck following your tutorial (thank you by the way, it's really helpful). I'm running into
    {
    "error": "unsupported_grant_type",
    "error_description": "grant type not supported"
    }
    any idea how I can enable password as grant type?

    • @monstamicz
      @monstamicz 2 роки тому

      have you tried going to the user and resetting the token?
      if not, do that then try to execute the callout again in Postman

    • @matthewthehuman1744
      @matthewthehuman1744 2 роки тому

      @@monstamicz wow thank you so much, for offering support a free tutorial. We wound up using jsforce api. Project is already completed.

    • @monstamicz
      @monstamicz 2 роки тому

      @@matthewthehuman1744 glad to know it all worked out

  • @massimotarquini1168
    @massimotarquini1168 2 роки тому

    great content. would you know why when i make the call out from Postman to Salesforce, nothing shows in the logs (when having my dev console open). Like the call is successful yet the log does not show anything. thanks

    • @JosephVloggs
      @JosephVloggs Рік тому

      hey mate, you might need to add debug logs for the API user you have created

  • @ekron8601
    @ekron8601 Рік тому

    how could I create multiples HttGet on the same class?

    • @JosephVloggs
      @JosephVloggs Рік тому +1

      I don't believe you would be able to you would have to create a new rest resource with a separate end point (URL)