Questions tagged [webapi]

For questions related to the ASP.NET Web API framework, whether writing APIs to manage content or functionality in Sitecore, or consuming data from APIs written using Web API (e.g., the Sitecore ItemService).

5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
681 views

UseTaskFriendlySynchronizationContext in WebApi calls

I'm trying to use Async tasks in my custom web api calls in Sitecore. I've successfully followed this article http://www.agehrke.com/2015/08/web-api-controller-in-sitecore-8/#comment-18861. However I'...
1
vote
0answers
264 views

Sitecore JSS component invoking a web api

I had a react js application (http://localhost:3000) that invoked a web API (http://xyz) POST method. The way I accomplished that is - through the "proxy": "http://xyz" setting in ...
1
vote
0answers
1k views

jQuery AJAX GET request returning “parsererror” error response message

In a scope of Sitecore Web project an API Contoller is used. Got the following response error message during jQuery AJAX GET API request: On a back-end side I use IHttpActionResult action method that ...
0
votes
1answer
31 views

Post an XML to a webservice with the sitecore form fields

I am working on an application where I created a form using sitecore forms. When the user submits the form, It should read all the fields from the forms and add it to XML element and post the XML ...
0
votes
0answers
32 views

Connect Sitecore to External source for data authoring

We have an external data source (SQL or via API). That data needs to be managed by our content authors. i am looking at something this can be done by tool or minimal customization. I tried to create ...