<s> import json <EOL> f = file ( '<STR_LIT>' ) <EOL> info = json . load ( f ) <EOL> username = info [ '<STR_LIT:username>' ] <EOL> password = info [ '<STR_LIT:password>' ] <EOL> auth = ( username , password ) <EOL> headers = { '<STR_LIT:Content-Type>' : '<STR_LIT:application/json>' } <EOL> url = "<STR_LIT>" % info [ '<STR_LIT>' ] <EOL> f . close ( ) </s>
