Curl Command For Post Api In Javascript