Call api on button click react hooks July 8, 2019 16 32 64 128 React api call React useeffect api call React post request on button click