<s> import json <EOL> from twisted . internet . task import react <EOL> from _utils import print_response <EOL> import treq <EOL> def main ( reactor , * args ) : <EOL> d = treq . post ( '<STR_LIT>' , <EOL> json . dumps ( { "<STR_LIT>" : "<STR_LIT>" } ) , <EOL> headers = { '<STR_LIT:Content-Type>' : [ '<STR_LIT:application/json>' ] } ) <EOL> d . addCallback ( print_response ) <EOL> return d <EOL> react ( main , [ ] ) </s>
