Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error message for missing param #81

Open
gene-pavlovsky opened this issue Mar 4, 2019 · 2 comments
Open

Error message for missing param #81

gene-pavlovsky opened this issue Mar 4, 2019 · 2 comments

Comments

@gene-pavlovsky
Copy link
Member

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?

@back2dos
Copy link
Member

Seems to work fine now.

@back2dos
Copy link
Member

Oh ... maybe not ^^

@back2dos back2dos reopened this Apr 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants