asp.net - What do I return from a POST action called from an external site? -
i have payment
controller, exposes httppost
action method called notify
. action posted when external payment service sends me immediate payment notification (ipn), , it's sole purpose update data based on data receive in ipn. never returns view, should action method return? i'm sure payment service wants http 200 or in response ipn post.
you return empty result:
return new emptyresult();
Comments
Post a Comment