i am trying to insert two variables which are got from users & text file in json payload. But i am getting Key error
Code
print ('{"ip-address": "x.x.x.x","user-name": "john","password": "{}","db-name": "{}","service-name": "Sql","port": #"000","connection-string": "xxx"}'.format(Pass,x.strip()))
Error
KeyError: '"ip-address"'