Quantcast
Channel: Web API
Viewing all articles
Browse latest Browse all 4850

WebAPI: How to replace '_' in Request URI for JSONP callback with word 'callback' in WebAPI

$
0
0

The Request URI coming to my Web API contains '_' to define the callback function name

(eg. .../?_=callbackfunctionname&..).

Is there anyway to replace it with 'callback' before it reaches

Request.CreateResponse(HttpStatusCode.OK,objectname).

I am using WebApiContrib.Formatting.Jsonp . Thanks,


Viewing all articles
Browse latest Browse all 4850

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>