Skip to content

Query params are duplicated #97

Open
@TimUnderhay

Description

@TimUnderhay

I've just discovered an interesting problem (using version 1.1.1): all query parameters specified in the query params tab arrive at my REST API wrapped in an array, with a double value (edit: not actually wrapped in an array: each query param is listed twice). For example:

image

With a simple node express app, if I dump the request query params to the console, this is what shows up:

app.get('/test', (req, res, next) => {
  console.log('query:', req.query);
  res.status(200).send('ok');
}

Yields:

  time1: [ '1618424054', '1618424054' ],
  time2: [ '1619028854', '1619028854' ]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugUnexpected behavior or a feature is broken

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions