trimmings icon indicating copy to clipboard operation
trimmings copied to clipboard

Configure default parameters for ajax requests

Open garygreen opened this issue 4 years ago • 0 comments

It would be great if we could configure the ajax/fetch requests to include additional information, a bit like axios config defaults

Our use case is that we want to add a custom header X-Requested-With-Trimmings that way we can detect this on the server and only serve partial HTML if we know we don't need to render the full page.

garygreen avatar Jun 30 '20 20:06 garygreen