Discussion:
REST API in v3
Jim Shi
2015-10-01 21:12:49 UTC
Permalink
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





-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/u
Alan DeKok
2015-10-01 21:17:01 UTC
Permalink
Post by Jim Shi
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-16340

Alan DeKok.


-
List info/subscribe/unsubscribe? S
Arran Cudbard-Bell
2015-10-01 21:21:32 UTC
Permalink
Post by Alan DeKok
Post by Jim Shi
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-16340
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-available/rest

-Arran
Jim Shi
2015-10-01 21:24:29 UTC
Permalink
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
Post by Alan DeKok
Post by Jim Shi
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-16340
Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/us
Arran Cudbard-Bell
2015-10-01 21:27:23 UTC
Permalink
Post by Jim Shi
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

Loading...