Release blocking - [x] `fetch` name does not make sense for API testing, they want `get`, `post`, `delete`, etc. - [x] `postData` should accept key/value pairs and end up with `application/json` encoding - [x] there should be separate postData notation for `application/x-www-form-urlencoded` encoding - [x] read header `multipart/form-data` and encode accordingly - [x] `postData` is not a great name - [x] should accept parsed query params - [ ] needs top-level shortcuts for popular headers, at least `content-type` and `accept` - [x] add validate status option Nice to have: - [x] make API call without context - [x] request.create() -> FetchRequest w/ cookie jar, settings - [x] needs explicit `ignoreHTTPSErrors` - [ ] should retry requests (https://visionmedia.github.io/superagent/#retrying-requests) - [x] make a series of API calls that produce storage state (cookies) - [x] have default user-agent on the global fetch: Playwright/<version>
Release blocking
fetchname does not make sense for API testing, they wantget,post,delete, etc.postDatashould accept key/value pairs and end up withapplication/jsonencodingapplication/x-www-form-urlencodedencodingmultipart/form-dataand encode accordinglypostDatais not a great namecontent-typeandacceptNice to have:
ignoreHTTPSErrors