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
0 votes
0 answers
64 views

Can get data from REST API with Postman, but not JavaScript Fetch request (localhost)

So I follow the tutorial in this link. Including the tutorial before it to set up an add-in. So my issue is that I am successful in getting the access token(Bearer Token) using Postman and then using ...
user avatar
0 votes
1 answer
131 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 ...
user avatar
  • 103
0 votes
1 answer
62 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 ...
user avatar
0 votes
0 answers
123 views

Issue uploading file to sharepoint using postman

I'm trying to upload a file to Sharepoint site using REST API in Postman but getting 'Bad Request - Invalid URL' error. I'm calling API https://mysite.sharepoint.com/sites/<site_name>/_api/web/...
user avatar
  • 101
0 votes
1 answer
35 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 ...
user avatar
  • 559
0 votes
1 answer
232 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 ...
user avatar
0 votes
1 answer
316 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)...
user avatar
0 votes
1 answer
313 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 ...
user avatar
  • 23
2 votes
1 answer
1k 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 ...
user avatar
  • 23
0 votes
2 answers
290 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 ...
user avatar
1 vote
1 answer
1k 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. ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
  • 87
1 vote
3 answers
8k 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 ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
0 votes
2 answers
31 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 ...
user avatar
1 vote
1 answer
1k 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/...
user avatar
1 vote
1 answer
224 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": "...
user avatar
  • 774
0 votes
1 answer
230 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 ...
user avatar
0 votes
1 answer
5k 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 ...
user avatar
0 votes
0 answers
137 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 ...
user avatar
0 votes
1 answer
401 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 ...
user avatar
0 votes
0 answers
332 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 ...
user avatar
1 vote
1 answer
1k 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....
user avatar
4 votes
2 answers
3k 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 ...
user avatar
  • 1,807
1 vote
0 answers
28 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-...
user avatar
0 votes
0 answers
160 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 ...
user avatar
  • 292
1 vote
2 answers
3k 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 ...
user avatar
1 vote
1 answer
8k 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',...
user avatar
  • 433
3 votes
2 answers
3k 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.
user avatar
0 votes
1 answer
362 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 ...
user avatar
1 vote
0 answers
253 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....
user avatar
1 vote
2 answers
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/...
user avatar
  • 197
1 vote
1 answer
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
user avatar
  • 11
1 vote
1 answer
938 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 '...
user avatar
  • 153
1 vote
0 answers
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/...
user avatar
  • 11
16 votes
3 answers
10k 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 ...
user avatar
  • 7,362