Files
Lukáš HuvarandJoe Haddad bd31c5d1b7 Dynamic routes for API (#7629)
* Dynamic routes for API

* New structure

* Change next config

* Refactoring tests

* Fix newline

* Fix tests

* Remove dynamic from config

* Apply suggestions from code review

Co-Authored-By: Joe Haddad <[email protected]>

* Update index.test.js
2019-06-27 12:01:36 -04:00

4 lines
66 B
JavaScript

export default (req, res) => {
res.status(200).json(req.body)
}