SharePoint REST syntax for methods


To specify multiple parameters, include the parameter as a name-value pair, and separate the parameters with commas. For example:

http://server/site/_api/web/getAvailableWebTemplates(lcid=1033, includeCrossLanguage=true)

So, when trying to activate a feature using the Add method:

POST syntax

POST http:////_api/web/features/add(featureId,force,featdefScope)

Resource parameters

  • featureId
  • force
  • featdefScope

What you really need is: