Rest API static friends example