We have created a custom action(OOB with two input and one output parameter) and called the same from JavaScript through WebAPI.If the call is synchronous the response status is 200 and able to get output parameter as the response text.
But if the call is asynchronous then the behaviour is weird sometimes it gives response status as 204 and sometimes 200.
Could someone let us know why we are receiving 204(No Content) status as we are expecting output parameter as response text always.
*This post is locked for comments