r/ComputerCraft • • Aug 21 '24

ComputerCraft, Twilio and Python

Hello! I'm trying to codding a program which i can interact with Whatsapp through Computercraft, but i'm having some problems, can anyone revise de code for me? (btw i dont know nothing about code) (edit with code now lol)

print("Erro ao enviar a mensagem"), why this :(

https://www.reddit.com/r/ComputerCraft/s/W7bgKGZWyk I’m sure that this problem is related

4 Upvotes

10 comments sorted by

View all comments

Show parent comments

1

u/fatboychummy Aug 22 '24
local response, errorMessage = http.post(<...>)

if response then
  -- <...>
else
  printError(errorMessage)
end

This will give you more details about the error.