0
Reply

How to accept underscore(_) as JSONP callback (/mywebsite...

r p

r p

Oct 7 2014 11:43 AM
736

Hi,

I have to make BOTH underscore( _ ) and callback acceptable for my WebAPI (.NET Web API).


I am using JSONP


eg: 


/mywebsite.......com/myapi...../?_=callbackfunctionname&


and


https://mywebsite.......com/myapi...../?callback=callbackfunctionname&


Can anyone please tell me what changes I should make to get them working?


Thanks,