very bad (if i'm anything at all) with making http requests, just want to make a post request to a server.
can someone create a quick alias and signal for this?
server to post to:
https://toontowninfinite.com/api/login/
the post request:
n=ircCheckr&p=judge2020&dist=test
the request header:
POST /api/login/ HTTP/1.1
Host: toontowninfinite.com
Accept: */*
Content-Length: 33
Content-Type: application/x-www-form-urlencoded
the response should be something like this:
{"success":false,blablablabla
and it always sends a 200 OK even if success is false. is there a way i can check for the success being false or true instead of checking for 200 OK?