ts-req-method

Straightforward: changes ts-req method. Defaults to POST on forms and to GET on everything else.

Examples

Collecting Data #

Here parent span declares ts-data with three keys (a, b, c) and then child a adds another entry with key b, drops existing c value and adds another (so it overrides c value). And then sends a POST request to a backend. Click link to see what data was sent.

Demo

So. Much. Data.