ipfs_cl_ea icon indicating copy to clipboard operation
ipfs_cl_ea copied to clipboard

Make API call allow any query parameters

Open PatrickAlphaC opened this issue 4 years ago • 0 comments

Right now, you have to specifically define the parameters you want to use in the code, it would be great if you could add any input and it would map them appropriately.

Basically, remove this section:

const customParams = {
  quiet: false,
  quieter: false,
  silent: false,
  progress: false,
  trickle: false,
  pin: false,
  file: false,
  ipfs_host: false,
  endpoint: false,
  arg: false
}

Get rid of the arg validator, and then all query params to be passed.

PatrickAlphaC avatar Feb 17 '21 17:02 PatrickAlphaC