6

I'm new to SharePoint 2013 and I'm looking to use REST to do some api calls to my other web sites.

I just want to see how to check and see the following items:

  1. If the REST service is enabled on the SharePoint server
  2. How to test the service to see if I can GET, POST, DELETE and PUT to a particular SharePoint site?

Thank you,

5

Postman API CLIENT

Excellent tool.

With Postman, you can construct simple as well as complex requests quickly, save them for later use and analyze the responses sent by the API. Postman can dramatically cut down the time required to test and develop APIs. Postman adapts itself for individual developers, small teams or big organizations equally well.

The new update looks like it has a bunch of new cool features, too.

But the fugly new UI is a deal breaker. It was extremely easy to use back then, but now it's just hard to find anything.

3

The Microsoft documentation has this (along with examples in some standard languages, if it doesn't have yours Google it). REST is built in and unless it is blocked by firewalls or your user lacks permission.

2

If you are looking for a tool to test SharePoint REST API, best options would be:

  1. Fiddler. Try composer feature that lets you to make simple GET/POST request.
  2. Advanced REST client. It is a add-on for Google Chrome with quite good and easy UI.
1

REST API is by default enabled in SharePoint 2013. unless it is blocked by firewalls or user have not permission to access it.

To understand REST API in SharePoint MicroSoft has done great documentation with example. but if you want to go from the starch in REST API in SharePoint then

Go through this Article from which i got reference to learn REST API in SharePoint

To Test GET,POST, DELETE and PUT you can use REST client to test them. Which also explained above Article.

1

You can use the slide deck and demos from my Introduction to the Client Object Model and REST API conference talk to help you get started.

I also have a course on the same subject on Pluralsight.

0

All tools (Fiddler, Advanced REST Client, Postman and so on) are very nice but I found passing X-RequestDigest or FormDigestValue is extra burden. So I have made SharePoint REST Client for seamless experience.

Before using this extension, login or navigate to your SharePoint site, then click on the extension icon. After few moment, you will get some cool UI for making GET, POST, UPDATE or DELETE request.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.