A simple PHP api Server