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
16
votes
3answers
7k 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 ...
4
votes
2answers
2k 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 ...
3
votes
2answers
2k 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.
2
votes
1answer
356 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 ...
1
vote
2answers
3k 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/...
1
vote
1answer
693 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 ...
1
vote
1answer
752 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....
1
vote
1answer
456 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. ...
1
vote
1answer
615 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/...
1
vote
1answer
124 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": "...
1
vote
0answers
25 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-...
1
vote
2answers
2k 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 ...
1
vote
1answer
5k 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',...
1
vote
0answers
219 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....
1
vote
1answer
5k 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
1
vote
1answer
781 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 '...
1
vote
0answers
1k 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/...
0
votes
1answer
289 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 ...
0
votes
1answer
13 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 ...
0
votes
1answer
4k 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 ...
0
votes
1answer
256 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 ...
0
votes
1answer
29 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 ...
0
votes
1answer
82 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)...
0
votes
1answer
72 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 ...
0
votes
2answers
128 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 ...
0
votes
1answer
61 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 ...
0
votes
1answer
4k 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 ...
0
votes
2answers
24 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 ...
0
votes
1answer
156 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 ...
0
votes
0answers
88 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 ...
0
votes
0answers
262 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 ...
0
votes
0answers
137 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 ...