Amount: 65.00 USD
@BoSen29 your Mrs is going to want an awesome date night with all this bounty money
Congratualations smashing another fix!
Well, i was planning on adding it to my CSGO fancy Knfie fund.
A decent date night will probably be a better investment tho
Is there a way to provide additional parameters into the a File Upload Rest API Endpoint?
From the docs it seems it only supports a $File param? I would like to post additional details like meta data, but more importantly, the filename and extension.
Sadly, the only metadata avaliable is whatever you content-type you specify.
IE use: contenttype “file$filename” to have a minimal metadata input.
The RESTapi backend handles file* and img* as file uploads (where * is a wildcard), and only accepts the actual file in the body of the request. Hence, you can specify the filename in the contenttype.
How do you retrieve the value of the ‘contenttype’ within the New-UDEndpoint?
*nvm, found it in the docs: https://docs.universaldashboard.io/rest-apis#returning-xml