c based rest framework