r p

r p

  • NA
  • 343
  • 0

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

Oct 7 2014 11:43 AM

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,