Call web service from js file(angularjs)

ساخت وبلاگ

Vote count: 0

i am creating a web app in MVC5 in which i need to call a web service from my javascript file,

in asp.net i used to call like

$http.get('/welcome.asmx/welcomegrid', { params: { } })

but in MVC5 it is showing me error

Request format is unrecognized for URL unexpectedly ending in '/welcomegrid'

i tried this also

$http.get("http://localhost:50353/Models/welcome.asmx/welcomegrid", { params: { } })

but i am facing the same error

asked 1 min ago

back soft...
ما را در سایت back soft دنبال می کنید

برچسب : call web service c,call web service,call web service java,call webservice from javascript,call web service nintex,call webservice from excel,call webservice from vba,call webservice from ssis,call webservice from sql server,call webservice from browser, نویسنده : استخدام کار backsoft بازدید : 399 تاريخ : شنبه 15 آبان 1395 ساعت: 11:47