code: def configure_api(self):
      return [Post(route="/name", method=self.handle_post)]
  
file_path: pytorch-lightning/docs/source-app/workflows/build_rest_api/post_example.py
imports: from lightning.app import LightningFlow, LightningApp
  from lightning.app.api import Post
label_desc: Use image node_id 4 for calling the Flow obj's underlying member method code with example usage: obj.configure_api() and returns: list