Simple React http API component
git submodule add git@github.com:<your_username>/React-http-API.git ./src/services/api/ Import in App.js or App.jsx
import Api from './services/api/api'; ... var get = await Api.get('get_address' , ['param1','param2' ...] ); var post = await Api.post('post_address' , {data1 :'...' , data2 :'...'} ); If this project helped, you can always buy me a cup of coffee :)
