add curl demo for friendship