Questions tagged [postman]

Postman is a powerful HTTP client for testing web services. Created by Abhinav Asthana, Postman makes it easy to test, develop and document APIs by allowing users to quickly put together both simple and complex HTTP requests.

Filter by
Sorted by
Tagged with
1 vote
1 answer
1k views

How to retrieve the whole content of a modern SharePoint site page using the SharePoint API or Microsoft Graph API

I am currently trying to get the whole content of a modern SharePoint page using either API but I am not retrieving it successfully. So far I have tried the following: Calling https://xxxx.sharepoint....
Smock's user avatar
  • 11
1 vote
0 answers
793 views

Unable to post message on Teams using Microsoft Graph API

I am trying to post message on a teams channel but I am not able to do that. I have got the required permissions also - Teamwork.Migrate.All. The following code snippet is being used: import requests ...
Kompal's user avatar
  • 21
0 votes
1 answer
2k views

Trying to upload files to sharepoint using REST API ,Python using Postman

import requests url = "https://xxxxxx.sharepoint.com/sites/QE/Shared%20Documents/_api/GetFolderByServerRelativeUrl('product-xxxxx-metrics/xxxxx-dashboard-automation')/Files/add(url='test.csv',...
Kompal's user avatar
  • 21
0 votes
1 answer
1k views

Sharepoint Rest API, Get files from a list throwing unknown 500 errors only when a file is present

I've been setting up an app to query a Sharepoint Document list for files (amongst other things). Querying {{mainLink}}sites/{{subsite}}/_api/web/lists/Documents/Files on postman with the following ...
The Lemon's user avatar
  • 103
0 votes
1 answer
439 views

Invalid request changeset action

Not sure what I am doing wrong. I am trying to convert a POST request (which is working) to a batch but I am encountering this error/response. --batchresponse_f248d33f-065b-43a0-8dd7-d69e63e98579 ...
Rexor Benitez's user avatar
0 votes
1 answer
115 views

Get tenant wide access token for REST api calls

Testing REST calls in Postman, I registered an app in my tenant root site, got an access token but a call to get, for example, page content in a different /sites/ site collection fails with an access ...
matt's user avatar
  • 589
0 votes
1 answer
677 views

SharePoint REST API - Fetching folders from subsite

I am new to using SharePoint online REST API's. I started with basics by connecting to SharePoint online via Postman and list folders in a subsite. So I have achieved the first step of connecting to ...
Krishnamurthy's user avatar
0 votes
1 answer
994 views

Sharepoint Online REST Item call returning empty array

I have a Sharepoint Online sitecollection http://tenant.sharepoint.com/sites/test and I have set up an app to be able to get the authentication tokens in Azure AD (Sites.FullControl.All for Sharepoint)...
Flamingi's user avatar
0 votes
1 answer
943 views

Update List Item in Sharepoint using old Sharepoint-API in Postman

I already asked a question here: enter link description here I wanted to retrieve the x-requestdigest from sharepoint to make list-operations just using postman. The provided solution worked great to ...
sal4u's user avatar
  • 23
2 votes
1 answer
3k views

Get the X-RequestDigest Cookie from Sharepoint in Postman

I have some troubles with the sharepoint api and i hope to get some help here ;-) We want to build an app to update sites and lists on a sharepoint website, but unfortunately a needed function is not ...
sal4u's user avatar
  • 23
0 votes
2 answers
573 views

Sharepoint REST API - SP.Web.CreateAnonymousLink - Unable to CREATE Links

In short - the issue appears to be that I can access a folder or file's anonymous link - but only after it's been created. When I say created - I mean clicking the 'copy link' button as show in the ...
Matt Parker's user avatar
1 vote
1 answer
2k views

SharePoint API: Invalid Access Token Resource

I am trying to obtain an access token for use with the SharePoint Rest API. For my organizations base site. I am able to obtain a token and use that token to make subsequent requests successfully. ...
Josh Sharkey's user avatar
0 votes
1 answer
5k views

SharePoint Online api, no access

We are making an interface with SharePoint. I did the app registration in AAD, gave SPO degelated permissions via Graph API API call for access token works fine API call to get a file keeps erroring ...
Emiel's user avatar
  • 89
1 vote
3 answers
11k views

AADSTS7000215: Invalid client secret is provided

We are integrating with client's SharePoint using SharePoint REST API. For this, the client has registered an add-in at their side using the appregnew.aspx and provided permissions to the Add in using ...
Ayushi Goel's user avatar
1 vote
1 answer
3k views

Posting a PDF file to SharePoint via Postman - JSON format

I'm trying to post a file from an external application to SharePoint using the REST API. Trying this via Postman first to get the structure of the Body. It works well when I'm attaching the PDF file ...
Sahil Bhan's user avatar
0 votes
2 answers
37 views

Unble to Test Graphapi in postman

I am working on graph api and able to test few thing graphapi and Postman but few of them not working in postman same query is working in Graphapi explorer and please find the below attached screens ...
Surendra Saranam's user avatar
1 vote
1 answer
3k views

Sharepoint API update a file throws Specified value is not supported for the serverRelativeUrl parameter

I am trying to update a file in sharepoint using API. I am trying in POSTMAN only. Below are the url and headers which i send. I am using PUT Method. url: https://groupname.sharepoint.com/sites/MMSN/...
Purushothaman's user avatar
1 vote
1 answer
466 views

Sharepoint 2013 REST API issue - Value does not fall within the expected range

I am trying to update a Tasks list item via REST and sending the following body to SharePoint API via POSTMAN tool: { "__metadata": { "type": "SP.Data.TasksListItem" }, "Status": "...
Ishan's user avatar
  • 774
0 votes
1 answer
287 views

Access home page of a sharepoint online site from code

I have a sharepoint site hosted at: https://xxxxx.sharepoint.com, which has a subsite named abc when I type in https://xxxx.sharepoint.com/abc in the browser, it redirects to the welcome page of the ...
Surbhi Babbar's user avatar
0 votes
1 answer
6k views

400 bad request the request cannot be fulfilled due to bad syntax postman tool error

I am doing the POST operation from Postman tool to SharePoint online list but getting the 400 bad request the request cannot be fulfilled due to bad syntax error. Here are my configuration in Postman ...
SP 2022's user avatar
  • 4,034
0 votes
0 answers
236 views

Error 415 (uns. media type) when creating new item list on SP Online using REST API and POSTMAN

As you can see I'm successfully authenticated to my tenant as I can retreive the List info. But I just can't create an item. I always get an 415 error "Usupported media type" whatever the headers I ...
Franck Raveau's user avatar
0 votes
1 answer
645 views

Unable to retrieve the tenant id POSTMAN

I am trying to get the tenant id from POSTMAN by following Access Sharepoint using POSTMAN i followed the same steps and able to create the App but i unable to get the tenant id the response what i am ...
Abdul Azeez's user avatar
0 votes
0 answers
472 views

Need help on SharePoint Search Rest API with POSTMAN

I am integrating Sharepoint with POSTMAN, firstly i created an app and get the client id and client secret key with which i generate the oAuth authentication and it is working perfectly fine. now when ...
Abdul Azeez's user avatar
1 vote
1 answer
2k views

404 Not Found - While accessing Folder in Sharepoint from POSTMAN

I am doing a GET request to below URL from POSTMAN to get Folder details and files. But i am always getting 404 Not Found in POSTMAN. ANy suggestion if the URL is wrong. https://learningsfdc....
learningmode's user avatar
4 votes
2 answers
6k views

Authentication in SP On-Prem -Postman

We can authenticate SP Online sites via clientid/client secret and generate access token. How can we authenticate in on-prem environment? We don't want to pass username/password to authenticate the ...
Deepmala's user avatar
  • 1,857
1 vote
0 answers
33 views

Get AccessToken to GetList In Sharepoint

I used sharepoint office 365 and I tried to get list item from sharepoint through postman. I follow the steps in these links: https://medium.com/@anoopt/accessing-sharepoint-data-using-postman-...
Turki BinTalib's user avatar
0 votes
0 answers
247 views

Getting Items in Postman

I used the instructions Here to get access to my SharePoint on O365 and I am able to get all kind of information accept some Lists Items. I just get "value": [] no errors. I know for a fact the list ...
Ofer Gal's user avatar
  • 292
1 vote
2 answers
4k views

Authenticating to SharePoint from fiddler/postman fails with 401

I am trying to follow the guidance in many articles, one by Fabian williams, on how to make queries from Fiddler or Postman, but I keep getting 401 unauthorized. I have SharePoint on prem 2016, with ...
Brittany Rutherford's user avatar
1 vote
1 answer
10k views

Upload file to SharePoint online with HTTP REST calls

According to the following link: Working with folders and files with REST I can add a file using url: http://site url/_api/web/GetFolderByServerRelativeUrl('/Folder Name')/Files/add(url='a.txt',...
Danny's user avatar
  • 443
3 votes
2 answers
4k views

How to update ModerationStatus (approval status) of a file in share point using Rest API

after check in a file using rest api , it having approval status as 'draft', do we have any rest api url (postman) to update approval status of a file in share point.
Anurag_BEHS's user avatar
0 votes
1 answer
523 views

How to Identify correct URL pattern of SharePoint to get list of items by title from Rest API

My goal is to get all items or files names at this URL https://myOrganization.sharepoint.com/sites/supplierABC/DataSheet/Forms/AllItems.aspx I have followed this link and I already have client Id ...
Anurag_BEHS's user avatar
1 vote
0 answers
296 views

SharePoint API postman collections?

Whether you are using SharePoint on-prem or SharePoint online, there are many times when you want to do rest api calls to sharepoint to get certain tasks done. I use Postman to store common api calls....
Nicholas DiPiazza's user avatar
1 vote
2 answers
4k views

Update document library column value for given row ID

I'm trying to update the status column in a document library where the name is "sharepoint_test.csv" and I'm following this tutorial to do it. URL: POST:URL https://mycompany.sharepoint.com/...
user3871's user avatar
  • 207
1 vote
1 answer
6k views

Upload a file to SharePoint document library using post man

Need to upload a file to one document library SP2013 , and see the response in POSTMAN, using REST API, which format , which parameter to pass
J.Thom's user avatar
  • 11
1 vote
1 answer
1k views

SharePoint webhooks: Failed to validate the notification URL while creating webhook for sharepoint online list/library

In POSTMAN while sending post request to create webhook, it returned with 400 bad request. Failed to validate the notification URL '...
raju's user avatar
  • 153
1 vote
0 answers
2k views

403 Forbidden - sharepoint APIs

I am facing a strange issue with the access to SharePoint APIs using an access token. I have generated the tenantid and client_id using the below URL https://<site-name>.sharepoint.com/...
Krishna's user avatar
  • 11
16 votes
3 answers
14k views

Getting data from SharePoint Online with an App, service to service

I have registered an App in my SharePoint Online, and I can use it's ID and secret with the Office Dev PnP PowerShell library. Works like a charm. Now the issue is that we are trying to connect to the ...
David Lozzi's user avatar
  • 7,372