how to upload a file to a document library using OData in PowerShell with curl or Invoke-RestMehthod
As I cannot use Pnp.PowerShell with a SharePoint-2019 on premise, AFAIK, I’ve been trying to do it with OData using curl. Unfortunately it happens to be much more complicated than I thought. I ended up building this command: curl -vvv...