orchardcmsorchardcms-1.6orchardcms-1.8orchardcms-1.7orchard-modules

How can i implement web API in Orchard custom module


I have one web API URL and it's returns some XML values, how can I retrieve that XML values into my custom module.

API URL like: www.website.com/api/GetValue?value1=23&value2=newvalue&searchItem=products


Solution

  • Of course, here theres a post from a whilewebapi route

    Orchard uses MVC 5.2.3 in its latest version. so anything you can do with that, you can do with Orchard.

    Check some other posts or even check someone questions in SO, like:WebApi Route returns Not Found in Orchard Module

    That should get you coding again