0

I have compiled in JSON support to FreeRADIUS 3.0.2 however I note that if I configure authorisation to use POST it is sending RADIUS attributes encoded as application/x-www-form-urlencoded

Is there a way to force this to POST JSON content?

mixja
  • 197
  • 2
  • 7

1 Answers1

1

Ensure you compile with json-c and set the <section>.body config item to json.

Arran Cudbard-Bell
  • 1,514
  • 1
  • 9
  • 18
  • OK thanks, figured it out, was missing body = "json" in my authorize section in the rest configuration file – mixja Jul 21 '14 at 12:28