Search found 2 matches

by GreatGrogrodor
Wed Jun 19, 2024 3:14 pm
Forum: Technical Help
Topic: Mod Upload API is either poorly documented, or broken
Replies: 1
Views: 419

Re: Mod Upload API is either poorly documented, or broken

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 ...
by GreatGrogrodor
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 ...

Go to advanced search