Skip to content

Latest commit

 

History

History

5-agnostic

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Example 5 Agnostic

  • For testing and proper operation of the code, please use a URL in the following format:

    http://localhost:8000/entity/method/id

    Where entity - entity name in the routing, method - method name in the routing, id - identifier of the record in the database.

  • Example of URL for get user with id = 1:

    http://localhost:8000/user/read/1