How To Test SharePoint Online REST API Using Postman

Поділитися
Вставка
  • Опубліковано 9 лют 2025
  • In this video, you will learn how to test SharePoint Online REST API using Postman.
    ---------------------------------------------------------------------------------------------------------------------------
    Download Postman:
    www.postman.co...
    ---------------------------------------------------------------------------------------------------------------------------
    Follow me on twitter to get Office 365 updates:
    Twitter:
    / sagarsharma94
    Gmail: contactdstechmirror@gmail.com
    Facebook:
    Join the Facebook group to collaborate with SharePoint Community
    / 52910. .
    ---------------------------------------------------------------------------------------------------------------------------
    Like, Share and Subscribe to our channel for more informative and development related videos. Much Love! Keep Learning! :)

КОМЕНТАРІ • 119

  • @surajit4181
    @surajit4181 3 роки тому +5

    This is the perfect video I am looking for years (literally). Thanks a lot for putting together all concepts in one video. I cannot thank you enough.

  • @NikolaMilanovic-cb2ej
    @NikolaMilanovic-cb2ej Рік тому +1

    Even after 2 years of this video's creation, everything done here is more than useful! Thank you very much for providing this video :)

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

    thanks bro, this is really helpful. found this video at the right time.. God bless you

  • @The.SpiritualScientist
    @The.SpiritualScientist 2 роки тому +1

    Great video!! Something I have been looking since long. A lot of information on working on SharePoint using APIs. Thanks a lot for sharing.

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

    hi i have used same steps but it thrown error 'token type is not allowed'. Could you help me to out this?

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

    Thank you for the easy understanding and clear process description. I have been through several videos and the Microsoft website; your video is by far the easiest to understand.

  • @oluwafemishadare9909
    @oluwafemishadare9909 3 роки тому +1

    This is the best tutorial on this so far. Thank you so much DS TechMirror

  • @matthewvandersteen7738
    @matthewvandersteen7738 3 роки тому +7

    Where do I find the resource ID?

  • @joshuaadebayo121
    @joshuaadebayo121 3 роки тому +3

    After struggling for days, finally came across this.
    This is really helpful.
    Thanks

  • @DaFakaMatt
    @DaFakaMatt 3 роки тому +4

    This was a really well put together tutorial. I spent hours on Microsoft docs trying to get this working. Thank you very much for putting this up.

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

    Thanks for the great explanation!! I have a question about access token though, when you generate access token without generating a refresh token first, does it mean that the access token's expiration date can not be expanded?

  • @willshea1112
    @willshea1112 4 роки тому +3

    One question though is how does this blend with the Microsoft directive to move O365 based API calls to Graph API. Can you do a Graph version of this tutorial? Thanks,

  • @naan_mathan
    @naan_mathan 3 роки тому +3

    {"error":"invalid_request","error_description":"Token type is not allowed."}
    How can i rectify this problem

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

    Thank you so much, solved the problem I was getting. Keep up, you are doing a great job

  • @vyacheslavkantor6678
    @vyacheslavkantor6678 3 роки тому +4

    Hi, oddly around 21:51 I'm getting a fancy error - {"error":"invalid_request","error_description":"Token type is not allowed."}

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

      To fix the issue open up SharePoint Powershell run command -> set-spotenant -DisableCustomAppAuthentication $false

    • @nst5831
      @nst5831 3 роки тому

      Hey!! even i am going through this issue, could you please let me know how you resolved it.

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

      @@vyacheslavkantor6678 can u please upload a screen shot where we can run this command

  • @theredd11
    @theredd11 10 місяців тому

    21:05 after generating access token, then getbytitle still gives me Authorization error

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

    I finish to watch your video and in the same time test connexion between Sharepoint and Unreal Engine. I see a problem with the column thumbnail and also when I update, If the ID is not present, I receive an error :"Item does not exist. It may have been deleted by another user." I create Headers if-match and x-http-method. Are you sure it's still working when you update an ID not existing ?

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

    Hello there, you say that you have already covered how to register an app in SharePoint in other videos. Would you mind sharing a link to those recordings pls ? Thank you

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

    Great tutorial. I get to keep my job for another day thanks 😆.

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

    Hi..I have a requirement to retrieve and upload file content from sharepoint . Can you please let me know how can I do it.

  • @enekomalo7190
    @enekomalo7190 3 роки тому +1

    Hi, first of all thanks for the video. One question regardin the appregnew, when I go to the specific URL I get the same message you have on 7:09s but don't know how to skip it? Can you help please?

    • @dstechmirror1396
      @dstechmirror1396  3 роки тому

      It is because you do not have owner access on your SharePoint site. Request the access from the site admin. I hope this will fix your issue. Thank you!

  • @sreenivasareddy2822
    @sreenivasareddy2822 3 роки тому +3

    Hi, I have followed all your steps, I am getting access token but while trying to get title or file from postman it's showing as an error.({"error":"invalid_request","error_description":"Token type is not allowed."}). may I know what is the problem here.

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

    How to implement a search api in SharePoint. I am getting unauthorised access every time. What will be the permission for search api?

  • @jobinjose6753
    @jobinjose6753 3 роки тому

    Brother you just saved my a** at work. Wonderful video. Thank you so much

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

    Thanks for posting this. Every aspect explained perfectly :)

  • @day_wanderer
    @day_wanderer 3 роки тому +1

    Explained really well. I was checking what if we want to use service account credentials (username and password)?

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

    Great video, thank you very much. One issue: it asks me to use POST instead of GET. I did that but it is giving me an error saying : "The request body must contain 'resource'. I have "resource" defined there. but it is still complaining

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

    I am encountering the grant_type error even though I have inputted the correct syntax. Also, from my Site Permission site, there is an entry for Microsoft.SharePoint, is that expected?

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

    at 7:10 , how did you got access to this url ?

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

    Great tutorial, very thorough. Subscribed!

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

    I did exactly as you did but even after entering the access token it is showing 403 error

  • @emmanarrazola4854
    @emmanarrazola4854 3 роки тому

    what would be the body raw if we have to attached a file ? thanks

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

    Hello, thanks a lot for this blueprint. How can I give app permission request to be able to download attachments picture on my sharepoint site. I have the link of the picture but when I try to download it, I don't have access.

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

    The access token we get is valid for some time and then gets expired is there a way so that we don't face this problem

  • @judsonmelobandeira126
    @judsonmelobandeira126 3 роки тому +1

    How can I make this with documents (uploading a file)?

  • @udayabhaskar822
    @udayabhaskar822 3 роки тому

    Hi, thanks for the above video. I have a query. In the 'Add Column' , I can see an option to add an image. Can you please let me know the json syntax to upload an image from postman..?

  • @cakeseeker2889
    @cakeseeker2889 3 роки тому

    This is really helpful and you explained it very well, thank you!

  • @waynehawkins654
    @waynehawkins654 8 місяців тому

    How did you get to PowerApps. You did not show a clear path to get to this

  • @MuhammadAdnan2.0
    @MuhammadAdnan2.0 3 роки тому

    Looks awesome, but u don't have tuts on No JavaScript framework crud operation spfx ? Please make video on it thanks...

  • @imadalikhan501
    @imadalikhan501 3 роки тому

    How to download a file from shared document folder or any other relative folder?

  • @pokie34
    @pokie34 3 роки тому

    HTTP Error 400. The request hostname is invalid. Yes I checked the hostname and I did everything exactly as you did in the video. The only thing I can think of is our sharepoint is behind MFA. Any ideas?

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

    Thanks for sharing !!
    Could you please advise how can we use these API in Azure data factory and copy sharepoint data

  • @SriniP2275
    @SriniP2275 4 роки тому

    Does all Sharepoint online implementations use REST API mechanism? Can we do file operations like uploading, downloading file into Sharepoint using this POSTMAN tool??

  • @jeetukumavat9686
    @jeetukumavat9686 3 роки тому

    Great post.
    Would be nice if the mic quality would have been better. Thanks

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

    Best Video ever! Thanks man!

  • @2882jatin
    @2882jatin 3 роки тому +1

    How can I upload documents via API to the Shared Documents?

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

    Thanks for nice and clean explanation.
    Able to get item from my title.
    But while trying to add new item via postman in my title but getting error: "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))".
    While I am able to add item in browser.
    Kindly help me.

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

    Thanks for the great video. Does it make sense to put these client ID and client secret in the javascript front-end code if https is being used ?

  • @The.SpiritualScientist
    @The.SpiritualScientist 2 роки тому

    I tried using the code from PostMan in UiPath and there I am getting strange results. It is either giving StateCode=OK but the result would show AADSTS900561: The endpoint only accepts POST requests. Received a GET request.". Even changing from Get to Post, which obviously doesn't sound correct it doesn't work and give a bad request error. Is there a way to fix this?

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

    this was really super amazing.
    thanks

  • @willshea1112
    @willshea1112 4 роки тому

    Really good and thorough. Thanks much.

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

    Very useful. I could get the list items only after following these steps. MS documentation was of no help.

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

    Very well explained, thank you

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

    Awesome Video, Do you know I can download a pdf file from the share point site using POSTMAN or CURL?

  • @marwenbenmahmoud2822
    @marwenbenmahmoud2822 3 роки тому

    hello,thank you the tutorial ,i m using ionic and im getting weird html response in the place of the token

  • @moiztariq-g5n
    @moiztariq-g5n Рік тому

    such a great content

  • @haogedeng8842
    @haogedeng8842 4 роки тому

    Thanks for the share man! much appreciated!

  • @VarunJain15
    @VarunJain15 3 роки тому

    How can I find the recouse for body form data?

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

    Im still stuck with grant_type error. I already have grant_type on the body T_T. Help please.

  • @jibinkoshy2739
    @jibinkoshy2739 4 роки тому +1

    Thanks . Good tutorial

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

    This is very helpful video

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

    Followed tutorial, all seems right, I am getting this though: "429 TOO MANY REQUESTS" .. any ideas?? My List has around 3k records with about 30 columns

  • @vijaykumarm9522
    @vijaykumarm9522 3 роки тому +1

    Excellent!!

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

    Hi, I just followed as it is, able to get the access token but when i call the SharePoint API's with bearer token, i see below error for all API's.
    {"error":"invalid_request","error_description":"Token type is not allowed."}
    What is causing the issue here?

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

      Even I am facing the issue.... we're u able to fix it

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

      I also get this issue. Trying to find a solution.

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

      Same issue please reply if someone cracked it.

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

    Wonderful

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

    Awesome thank you so much

  • @ankuragarwal4378
    @ankuragarwal4378 3 роки тому

    This is amazing, keep it up 👍

  • @luizfelipemoraes5514
    @luizfelipemoraes5514 3 роки тому

    why can't I fill in the body tab?

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

    great stuff .. thanks

  • @ashutoshagarwal4189
    @ashutoshagarwal4189 4 роки тому

    Please do a session on CI/Cd integration, azure repos for spfx

  • @matisproviero8507
    @matisproviero8507 3 роки тому +1

    TY BRO!!

  • @ttttanu
    @ttttanu 3 роки тому

    Thanks for the awesome knowledge

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

    All good, there is just a single mistake to get the access token we send POST request not GET request, i wasted my 4 hours to figure this out, by the way thanks man

    • @vihari-rajupenmatsa4899
      @vihari-rajupenmatsa4899 2 роки тому

      Hi Keshav, Were you able to generate Token? I'm receiving "The request body must contain the following parameter:'grant_type' " even thought it was provided. any suggestions would be very helpful

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

      @@vihari-rajupenmatsa4899 encountered the same

  • @edwcyclops
    @edwcyclops 3 роки тому

    Excelente muy buen material bro, felicidades

    • @rameshchanda7047
      @rameshchanda7047 3 роки тому

      Thanks for the best knowledge sharing video. Do you have any video for fileupload to SPO using rest API via postman, If so please share the same, thanks in advance.

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

    i did the same way, get E_Accessdenied error

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

    hey, thanks for the video, how to handle "{"error":"invalid_request","error_description":"Token type is not allowed."}"

  • @tuanvu5161
    @tuanvu5161 3 роки тому

    This is awesome dude, keep up the good work you earn a subscribe from me :D

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

    How to get the resource id ?

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

      00000003-0000-0ff1-ce00-000000000000 - ResourceId

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

      It's always the same ??? @@potatostories

  • @jainraj75
    @jainraj75 4 роки тому

    very useful. thanks :)

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

    Muito obrigado. Poupou horas de leitura de documentação.

  • @gokulnathpalani3956
    @gokulnathpalani3956 3 роки тому +4

    I am getting an error “The request body must contain the following parameter: 'grant_type'” but I am already passing the Grant type in Body.
    grant_type:client_credentials

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

      I just figured it out. You have to remove or uncheck the headers in "GetAccessToken" only and then it gives you an access token.

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

    thanks!

  • @ravivarmakalidindi2936
    @ravivarmakalidindi2936 3 роки тому +1

    Thank you

  • @balamuralipati8604
    @balamuralipati8604 3 роки тому

    Why am I getting 403 for every postman request?

  • @VarunJain15
    @VarunJain15 3 роки тому

    Hi DS TechMirror, Can you please share this ppt ?

  • @bba4769
    @bba4769 2 роки тому +2

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

    I am getting Microsoft identityModel.Tokens.AudienceUriValidationFailedException