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! :)
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.
Thank you Surajit
Even after 2 years of this video's creation, everything done here is more than useful! Thank you very much for providing this video :)
Great to hear!
thanks bro, this is really helpful. found this video at the right time.. God bless you
Glad it helped
Great video!! Something I have been looking since long. A lot of information on working on SharePoint using APIs. Thanks a lot for sharing.
hi i have used same steps but it thrown error 'token type is not allowed'. Could you help me to out this?
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.
Glad it helped!
This is the best tutorial on this so far. Thank you so much DS TechMirror
Where do I find the resource ID?
After struggling for days, finally came across this.
This is really helpful.
Thanks
Glad to hear...
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.
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?
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,
{"error":"invalid_request","error_description":"Token type is not allowed."}
How can i rectify this problem
Thank you so much, solved the problem I was getting. Keep up, you are doing a great job
Hi, oddly around 21:51 I'm getting a fancy error - {"error":"invalid_request","error_description":"Token type is not allowed."}
To fix the issue open up SharePoint Powershell run command -> set-spotenant -DisableCustomAppAuthentication $false
Hey!! even i am going through this issue, could you please let me know how you resolved it.
@@vyacheslavkantor6678 can u please upload a screen shot where we can run this command
21:05 after generating access token, then getbytitle still gives me Authorization error
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 ?
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
Great tutorial. I get to keep my job for another day thanks 😆.
Hi..I have a requirement to retrieve and upload file content from sharepoint . Can you please let me know how can I do it.
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?
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!
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.
Hi sreenivasareddy, were u able to fix the issue. I am also facing same issue
Same issue
How to implement a search api in SharePoint. I am getting unauthorised access every time. What will be the permission for search api?
Brother you just saved my a** at work. Wonderful video. Thank you so much
Thanks for posting this. Every aspect explained perfectly :)
Explained really well. I was checking what if we want to use service account credentials (username and password)?
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
The request body must contain the following parameter: 'grant_type'
I have the same error
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?
at 7:10 , how did you got access to this url ?
Great tutorial, very thorough. Subscribed!
I did exactly as you did but even after entering the access token it is showing 403 error
what would be the body raw if we have to attached a file ? thanks
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.
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
How can I make this with documents (uploading a file)?
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..?
This is really helpful and you explained it very well, thank you!
How did you get to PowerApps. You did not show a clear path to get to this
Looks awesome, but u don't have tuts on No JavaScript framework crud operation spfx ? Please make video on it thanks...
How to download a file from shared document folder or any other relative folder?
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?
Thanks for sharing !!
Could you please advise how can we use these API in Azure data factory and copy sharepoint data
Does all Sharepoint online implementations use REST API mechanism? Can we do file operations like uploading, downloading file into Sharepoint using this POSTMAN tool??
Great post.
Would be nice if the mic quality would have been better. Thanks
Best Video ever! Thanks man!
How can I upload documents via API to the Shared Documents?
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.
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 ?
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?
this was really super amazing.
thanks
Really good and thorough. Thanks much.
Very useful. I could get the list items only after following these steps. MS documentation was of no help.
Very well explained, thank you
Awesome Video, Do you know I can download a pdf file from the share point site using POSTMAN or CURL?
hello,thank you the tutorial ,i m using ionic and im getting weird html response in the place of the token
such a great content
Thanks for the share man! much appreciated!
How can I find the recouse for body form data?
Im still stuck with grant_type error. I already have grant_type on the body T_T. Help please.
Thanks . Good tutorial
This is very helpful video
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
Excellent!!
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?
Even I am facing the issue.... we're u able to fix it
I also get this issue. Trying to find a solution.
Same issue please reply if someone cracked it.
Wonderful
Awesome thank you so much
This is amazing, keep it up 👍
why can't I fill in the body tab?
great stuff .. thanks
Please do a session on CI/Cd integration, azure repos for spfx
TY BRO!!
Thanks for the awesome knowledge
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
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
@@vihari-rajupenmatsa4899 encountered the same
Excelente muy buen material bro, felicidades
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.
i did the same way, get E_Accessdenied error
hey, thanks for the video, how to handle "{"error":"invalid_request","error_description":"Token type is not allowed."}"
This is awesome dude, keep up the good work you earn a subscribe from me :D
How to get the resource id ?
00000003-0000-0ff1-ce00-000000000000 - ResourceId
It's always the same ??? @@potatostories
very useful. thanks :)
Muito obrigado. Poupou horas de leitura de documentação.
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
I just figured it out. You have to remove or uncheck the headers in "GetAccessToken" only and then it gives you an access token.
thanks!
Welcome!
Thank you
You're welcome
Why am I getting 403 for every postman request?
Hi DS TechMirror, Can you please share this ppt ?
I am getting Microsoft identityModel.Tokens.AudienceUriValidationFailedException