sending multiple Class attributes in Rest POST
Alan DeKok
aland at deployingradius.com
Wed Sep 30 14:53:39 CEST 2020
On Sep 30, 2020, at 8:47 AM, Mark Grayson (mgrayson) <mgrayson at cisco.com> wrote:
>
> I can now see those being POSTed using the accounting section showing attributes being returned by the NAS, but I can't seem to see them in the post-auth section being returned in the access-accept.
>
> post-auth {
> uri = "${..connect_uri}/rest/radius"
> method = 'post'
> body = 'json'
> data = '{"class1":"%{Class[0]}","class2":"%{Class[1]"}'
That is taking the Class values from the *request*.
> tls = ${..tls}
> }
>
> What am I doing wrong to enable POSTing of access-accept attributes?
$ man unlang
You can use reply:Class to reference attributes in the reply.
Alan DeKok.
More information about the Freeradius-Users
mailing list