Loading...
This site is best viewed in a modern browser with JavaScript enabled.
Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.
How do I send files using multipart/form-data with resty.http library?
yangm97
I haven’t found examples anywhere so here I am.
I’m trying to implement something like this
https://github.com/topkecleon/otouto/blob/master/otouto/bindings.lua#L30
I even uploaded a telegram-api lib to opm (binds lua methods to json telegram requests), but turns out I can only upload files using multipart/form-data ¯\_(ツ)_/¯