post top-level constant

Post const post

Defines a method as an HTTP POST request.

Use the Body annotation to pass data to send.

Implementation

const post = Post();