Problem in sending invitation email

My js code is:


after saving my code. when I click on sent email button.
I got dis error :The resource you are looking for is not available

your method path is incorrect.

. after meeting

still not working.
what is correct path for saving api.py file?

Refer your tutorial video. Try by changing method path.