Add json() middleware.

And verify request passed for a same domain request.