2
votes

I am using Sitecore Item Web API module after installing package, I have tried http://[hostname]/-/item/v1/?query=/sitecore/content/* this URL. But I keep getting 404.

Any input please?

1

1 Answers

11
votes

Please update website setting in your Sitecore.ItemWebApi.config file under include folder as given below.

<site name="website">
        <patch:attribute name="itemwebapi.mode">StandardSecurity</patch:attribute>
        <patch:attribute name="itemwebapi.access">ReadOnly</patch:attribute>
        <patch:attribute name="itemwebapi.allowanonymousaccess">true</patch:attribute>
      </site>

I think it will work for you.