- General format:
<request_type eg: get,post..>(<the api endpoint, use '{var-name}' when there is a variable in the endpoint url eg: '/home/page/{}'>) :
Examples
Making a GET end point:
get('/home') : python3 home.py
Making a Get endpoint with 1/more variables:
get('/home/page/{x}/para/{y}') : python3 home.py
Then the rest is done with the help of packages made for integrating april with them. You can find the list of packages here.