WTH payload_template for RESTful sensor

Sometimes there’s the need to consume a rest API with parameters on payload, but for example you need to change date every day. I would be very useful to be able to use payload_template with ability to change date dynamically.

Thank you for reading

Can you not use the resource_template for that?

The parameters I need to send are not on the URL. must be sent on the body with json. I don’t know how to achieve this with resource_template

Thanks for answering