Trying to get formData from client into callback parameter

I have tested this code i my project, and works as expected.