Hi, I was recommend to use REST API instead of jradius. Is there any doc how to implement the backend (which servers the REST API calls)? Thanks Jim
On Oct 1, 2015, at 5:12 PM, Jim Shi <hanmao_shi@apple.com> wrote:
Hi, I was recommend to use REST API instead of jradius.
Is there any doc how to implement the backend (which servers the REST API calls)?
It's just HTTP, using a standard set of calls. http://code.tutsplus.com/tutorials/a-beginners-guide-to-http-and-rest--net-1... Alan DeKok.
On Oct 1, 2015, at 5:17 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Oct 1, 2015, at 5:12 PM, Jim Shi <hanmao_shi@apple.com> wrote:
Hi, I was recommend to use REST API instead of jradius.
Is there any doc how to implement the backend (which servers the REST API calls)?
It's just HTTP, using a standard set of calls.
http://code.tutsplus.com/tutorials/a-beginners-guide-to-http-and-rest--net-1...
Example JSON structures included in the default config file, along with what the different HTTP return codes do. https://github.com/FreeRADIUS/freeradius-server/blob/v3.0.x/raddb/mods-avail... -Arran
Alan, I would like to what parameters are passed in from radius and what kind of response that I should send back to freeradius. Is there any doc or example? Thanks Jim
On Oct 1, 2015, at 2:17 PM, Alan DeKok <aland@deployingradius.com> wrote:
On Oct 1, 2015, at 5:12 PM, Jim Shi <hanmao_shi@apple.com> wrote:
Hi, I was recommend to use REST API instead of jradius.
Is there any doc how to implement the backend (which servers the REST API calls)?
It's just HTTP, using a standard set of calls.
http://code.tutsplus.com/tutorials/a-beginners-guide-to-http-and-rest--net-1...
Alan DeKok.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Oct 1, 2015, at 5:24 PM, Jim Shi <hanmao_shi@apple.com> wrote:
Alan, I would like to what parameters are passed in from radius and what kind of response that I should send back to freeradius. Is there any doc or example?
Yes, in the config file, which comes with the rest module... At least the one in the current git HEAD. -Arran
participants (3)
-
Alan DeKok -
Arran Cudbard-Bell -
Jim Shi