Fetch More
React Ajax based on browser's native fetch()
.
Installation
$ npm i fetchmore
GET method
; ;
Result:
http://localhost/?username=chiro&email=chiro%40fkguru.com
POST method
; ;
Parsed data:
username: chiro
email: chiro@fkguru.com
products[id][0]: 3
products[name][0]: cake
products[price][0]: 2000
products[id][1]: 4
products[name][1]: coffe
products[price][1]: 6000
Auto encoded data:
username=chiro&email=chiro%40fkguru.com&products[id][0]=3&products[name][0]=cake&products[price][0]=2000&products[id][1]=4&products[name][1]=coffe&products[price][1]=6000
License
This package distributed under MIT License