샘플
Send a request body with axios.delete by nesting it inside the config data property instead of passing it as the second argument
sha256:4218ac8dfddb1a99544684b487ec62988b9f2c6a1ffa23fee8a5b1dcf05c9e34
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Send a request body with axios.delete by nesting it inside the config data property instead of passing it as the second argument HOW
- 패키지
- axios 1.19.0
- 환경
- node
- 생성일
- 2026-08-16T06:43:54Z
컨트랙트
- start a local HTTP server on an ephemeral loopback port
- send a DELETE request with a body using axios.delete(url, { data })
- assert the server received HTTP method DELETE
- assert the request header Content-Type matches application/json
- assert the server parsed the exact JSON body payload from the wire
- assert axios returned HTTP status 200 with the parsed response
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9