OnRequest.post constructor

const OnRequest.post(
  1. String path
)

Implementation

const OnRequest.post(this.path) : method = "POST";