adding curl post method example