Eh, seeing "HTTP/1.1" in your post helped, that's actually my bad, I forgot to put the HTTP version to use in the POST line, I also counted 34 bytes for the length, but you were right with 33, that didn't fix the problem though, so I added the header you specified in your first post and it worked wink

Update the on sockopen event:
Code:
on *:sockopen:toon:{
  if ($sockerr) return $input(Error while trying to connect to the server,o)
  var %sw sockwrite -n toon
  %sw POST /api/login/ HTTP/1.1
  %sw Host: toontowninfinite.com
  %sw Accept: */*
  %sw Content-Type: application/x-www-form-urlencoded
  %sw Content-Length: 33
  %sw
  sockwrite toon n=ircCheckr&p=judge2020&dist=test
}


#mircscripting @ irc.swiftirc.net == the best mIRC help channel