You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 19, 2024. It is now read-only.
I have routes that returns different contents based on if the request is AJAX or not, so the same path may map to different controller and action depending on the "X-Requested-With" request header. The application indicates this fact with the "Vary:X-Requested-With" response header.
Is there any way of test routes this with MvcRouteTester? Like adding an additional parameter to simulate an AJAX request?
Hi!
I have routes that returns different contents based on if the request is AJAX or not, so the same path may map to different controller and action depending on the "X-Requested-With" request header. The application indicates this fact with the "Vary:X-Requested-With" response header.
Is there any way of test routes this with MvcRouteTester? Like adding an additional parameter to simulate an AJAX request?
Thanks.