Amareis/another-rest-client

What is about camelize / decamelize config?

Closed this issue · 2 comments

byzg commented

As I can see I cant decamelize request params without own wrapper like

this.api['groups'].post(decamelizeKeys(data)).then(response => {
  return camelizeKeys(response)
})

for each action

@byzg: Will it ok if you will get data object in request event?

byzg commented

@Amareis sorry I've just found #2
it solves the issue