Checker Foundation for beginners

Currently reading:
 Checker Foundation for beginners

oypsi

Member
LV
0
Joined
Jul 25, 2023
Threads
1
Likes
0
Credits
221©
Cash
0$
added instructions on how to use the ready made code for your own targets in the main.py file. you should take a look at it, otherwise you won't be able to create your own checkers based on this Template!

You can use resp.status_code to check, if the request was sucessful. Note that the values are integers what means you need to check without "" or add the word int to directly convert it to integer in memory: int("200")
All responses in the 200 ranges are successfull. You can print out the response as debug and then look on the web what the code means. you then can give custom responses depending on the response code. Something like:
If resp.status_code == 200: print("The Request had no issues and everything went fine :)")
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Tips
Top Bottom