Hi @hubb that is exactly right, I’m using `request.dynamic` with a custom 
function.

The code looks like this:

```
def get_request() =
  # Get the URI
  uri = list.hd(default="",get_process_lines("curl 
http://website.com/api/endpoint";))
  # Create a request
  request.create(uri)
end

s = request.dynamic(id="s",timeout=60.0,get_request)
```

I’m going to try to understand better how to implement what you mean for my 
particular case.

Thanks for your help.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/708#issuecomment-463138509
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to