mirror of
https://github.com/hanzoai/next.js.git
synced 2026-09-24 17:00:51 +00:00
Closes: #37805 ## Bug - [x] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` Co-authored-by: JJ Kasper <[email protected]>
13 lines
185 B
JavaScript
13 lines
185 B
JavaScript
export const config = {
|
|
api: {
|
|
bodyParser: false,
|
|
},
|
|
}
|
|
|
|
export default function handler(req, res) {
|
|
return res.json({
|
|
method: req.method,
|
|
headers: req.headers,
|
|
})
|
|
}
|