Sup,
Working on some thing
And I need help with socket.http, i need to get some files from pastebin but when ever i send a req i always get a 301.
Here is the code
local http = require("socket.http")
local body, statusCode, headers, statusText = http.request("https://pastebin.com/raw/fZFhsBcr") -- paste bin file to be changed
print(body, statusCode, headers, statusText)
if statusCode == 200 then
else
error("Unable to check for updates !")
end
(Might be a noob question its my first time using socket.http )
I have also attached the screenshot of the console output
Attachments
Screenshot 2024-02-09 213410.png (2.57 KiB) Viewed 1534 times
I couldn't find Löve 12 artefacts (binaries) to test, so you'd have to build from source.
Ah, here it is, you go to an Action, then go to its Summary, then scroll to the bottom of the viewer area to find the Artefacts section with binaries (love.exe for 12).
Note that you have to be logged in to Github, or else they won't be links but just plaintext: https://github.com/love2d/love/actions/runs/7779119519
Last edited by RNavega on Sat Feb 10, 2024 7:53 am, edited 1 time in total.
Error
error loading module 'ssl' from file 'C:\Program Files\LOVE\ssl.dll':
The specified procedure could not be found.
Traceback
[love "callbacks.lua"]:228: in function 'handler'
[C]: at 0x7ff81ab9a280
[C]: in function 'require'
libs/verify.lua:75: in main chunk
[C]: in function 'require'
main.lua:3: in function 'load'
[love "callbacks.lua"]:136: in function <[love "callbacks.lua"]:135>
[C]: in function 'xpcall'
[C]: in function 'xpcall'
I searched a lil bit on google cant find something like this. (Or im just a idiot)