Structure Flashcards
1
Q
What are the three comments that should ALWAYS be made when creating an API endpoint?
A
1) @route (the route and what request types it accepts)
2) @desc (a description of the endpoint)
3) @access (i.e. “Public”)
What are the three comments that should ALWAYS be made when creating an API endpoint?
1) @route (the route and what request types it accepts)
2) @desc (a description of the endpoint)
3) @access (i.e. “Public”)