yada 2019-09-06

i'm trying to get file uploading working with yada

so far, i haven't been able to find an example for this, and following the yada manual hasn't gotten me far either (declaring a param as java.io.File)

anyone here can take a look at the code and let me know what they think? is this stuff ok, or is there some better way to handle files?

actually, that project doesn't have forms that upload files, just a JS editor that handles that, so still not really covering my use-case 😞

There is an upload.clj example in the yada repo

ok great, I'll look at that

I didn't find that, but I found the selfie example, is that what you were referring to?

hope that helps

thanks a lot. the branch I have of Yada doesn't have that code

I actually have my Yada route just like in you gist

I'm getting an unsupported media type error

my form wants to send x-www-form-urlencoded

omg, fucking W 3 school site gave me wrong information on how to set up a form for multipart

got my shit working