<s> import argparse <EOL> import sys <EOL> import requests <EOL> def main ( url ) : <EOL> requests . get ( url + '<STR_LIT>' ) <EOL> response = requests . get ( url + '<STR_LIT:test>' ) <EOL> print ( response . text ) <EOL> if response . status_code != <NUM_LIT:200> : <EOL> sys . exit ( <NUM_LIT:1> ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> parser = argparse . ArgumentParser ( ) <EOL> parser . add_argument ( '<STR_LIT:url>' ) <EOL> args = parser . parse_args ( ) <EOL> main ( args . url ) </s>
