peter4k / react-native-backbone

A react native version of backbone model
66 stars 18 forks source link

support for options.data as object to add query string parameters #10

Closed jesus-salvador closed 3 years ago

jesus-salvador commented 6 years ago

Support for options.data as object to add query string parameters: url?key1=value1&key2=value2

Examples Fetch a specific page of collection: Documents.fetch({data: {page: 3}}) Send a keyword on a serch endpoint: Search.fetch({data: {keywords: 'foo bar'}})