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?

1 Answer 1


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

  • OK thanks, figured it out, was missing body = "json" in my authorize section in the rest configuration file
    – mixja
    Jul 21, 2014 at 12:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.