add curl get snippet