trying to make curl post and get working