doc-detective / doc-detective-core

The NPM package that powers Doc Detective's testing functionality.
https://doc-detective.com
MIT License
8 stars 2 forks source link

For `httpRequest`, automatically detect parameters included in `url` and split them out into the correct `requestParams` object #172

Closed hawkeyexl closed 2 months ago

hawkeyexl commented 2 months ago

This is a quality-of-life update to handhold users.

{
  "action":"httpRequest",
  "url":"https://www.acme.com?foo=bar"
}

should be reinterpreted as

{
  "action":"httpRequest",
  "url":"https://www.acme.com",
  "requestParams": [
    "foo": "bar"
  ]
}
hawkeyexl commented 2 months ago

Already supported by Axios dependency. Opened because of a misunderstanding.