How can i implement web API in Orchard custom module

750 Views Asked by At

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

1

There are 1 best solutions below

0
On BEST ANSWER

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