Skip to content
This repository was archived by the owner on May 19, 2024. It is now read-only.
This repository was archived by the owner on May 19, 2024. It is now read-only.

Is it possible to test AJAX routes? #59

@vtortola

Description

@vtortola

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions