Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > kentico web service View modes: 
User avatar
hanaa.sayed7-gmail - 2/13/2014 8:05:22 AM
kentico web service
hi ,

kentico web service returns XML instead of JSON after adding
<add name="ScriptHandlerFactory"
verb="*" path="*.asmx"
type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
resourceType="Unspecified" />
</system.webServer> to web config

User avatar
Kentico Support
Kentico Support
kentico_filipl - 3/16/2014 9:41:45 PM
RE:kentico web service
Hi Hanaa,

Have you inserted the necessary query string specifying the format of retrieved data according to Developer's Guide - REST retrieved data examples?

E.g. ~/rest/cms.country?format=json

Best regards,
Filip Ligac