tink_web icon indicating copy to clipboard operation
tink_web copied to clipboard

Error message for missing param

Open gene-pavlovsky opened this issue 6 years ago • 2 comments

I have this route:

  @:post('/$performerId/upload')
  @:params(file in body)
  @async public function uploadFile(performerId:Int, file:FormFile):Noise {

While testing uploading using a simple html file with an upload form, I've gave the wrong name to the file input. The error message I got from the server was: "Missing value for file for file" I suppose that's one "for file" too many?

gene-pavlovsky avatar Mar 04 '19 23:03 gene-pavlovsky

Seems to work fine now.

back2dos avatar Apr 25 '20 17:04 back2dos

Oh ... maybe not ^^

back2dos avatar Apr 25 '20 17:04 back2dos