I fixed it.
In powershell, you can't get around the fact that invoke-restmethod will always encode the binary data you give it to some UTF8 encoded string, which ultimately completely messes up the mod data.
So, you have to use system.net.http.httpclient instead like this:
function Push ...
Search found 2 matches
- Wed Jun 19, 2024 3:14 pm
- Forum: Technical Help
- Topic: Mod Upload API is either poorly documented, or broken
- Replies: 1
- Views: 419
- Wed Jun 19, 2024 1:39 pm
- Forum: Technical Help
- Topic: Mod Upload API is either poorly documented, or broken
- Replies: 1
- Views: 419
Mod Upload API is either poorly documented, or broken
So, I've been tinkering with a powershell module for mod making.
It's not complete yet, and I've had some trouble interpreting how to upload the new releases from the official documentation here https://wiki.factorio.com/Mod_upload_API
I'm not a python guy so the example given is difficult to ...
It's not complete yet, and I've had some trouble interpreting how to upload the new releases from the official documentation here https://wiki.factorio.com/Mod_upload_API
I'm not a python guy so the example given is difficult to ...