making a post request to a server - 24/08/14 08:19 PM
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:
the post request:
the request header:
the response should be something like this:
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?
can someone create a quick alias and signal for this?
server to post to:
Code:
https://toontowninfinite.com/api/login/
the post request:
Code:
n=ircCheckr&p=judge2020&dist=test
the request header:
Code:
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:
Code:
{"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?