asynkron / CallMeLater

Send delayed/scheduled HTTP requests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Encode some values in the URL?

rogeralsing opened this issue · comments

Instead of passing a header for what endpoint to call and when to call it.
Maybe this could be done via the URL to Call-me-later itself.
e.g.

/later/10m/https/github.com/some/path?somearg=123&someotherarg=55

Where github.com/some/path?somearg=123&someotherarg=55 becomes the URL to call
and timeout and protocol are also extracted from the path. e.g 10mand https

This would make it super easy to replace any existing request in some codebase, with a delayed request.
just modify the URL and it works