rest api bodge