API Transport cannot use variable in body

hi all!
I’m testing the new alert api with PUT method these days, but I found that the variables in librenms can’t be passed to the json body. or is there some part I’m missing?

Hi @Laplacence
I already saw this request coming in. Current code does not do it, but it should be a simple patch to add this feature. Feel free to come with a Pull Request to add it.
Bye

1 Like

Thanks a lot!
Waiting for the new version.

Has this been patched in yet?

Would be fantastic if this was working.

Screenshot 2022-02-24 at 12.47.10

Yes, it works well with the PUT method.

Really!? I’ve been having loads of issues just getting it to pull through in the JSON body for PUT
Works fine without the variable.

XD, its time to try.
also have new problem, see this link.

You need a space between { and $ as well as n and }, so that would be {{ $description }}. Could you try this ?