Sign In Register

How can we help you today?

Start a new topic
Answered

POST binary file from GameSparks

Hi,


I am trying to implement a script where I load a binary file previously uploaded to GameSparks, encode to base64, and send it to our 3D printing provider.

To load the file I use SparkHttp class and get() to retrieve the data from the url I get from GetUploadedRequest. The problem I encounter is that I don't really know in which format is the data that getResponseString() returns and, because of this, I get a format invalid when I try to send the encoded file.


Is this the right way to get the uploaded file from GameSparks? Are there any other options to retrieve the binary file so I can encode and send it to the provider?


Thanks.


Best Answer

OK, nevermind. There was an issue with the encoding process that I managed to fix, and now everything is working.

1 Comment

Answer

OK, nevermind. There was an issue with the encoding process that I managed to fix, and now everything is working.