Open telesoho opened 7 years ago
Did you manage you solve your issue? Have you considered POSTing the image from the code that calls Splash, instead of doing it from the Splash Lua script?
Did you manage you solve your issue? I have the same problem. @telesoho
@kasnet @Gallaecio I haven't been able to solve it, so I've given up.
I want to capture an image and post the image to a server by multipart/form-data format. The server can only accept binary data of file, so I cannot use base64 to encode it.
I wrote the following code, capture image by splash:png and use base64 encode and decode to get binary data, then try to post data by splash:http_post.
But splash:http_post got an error:
Is there way to post binary data by splash lua? Or I do something wrong?
Thanks in advance!