I have response object as <Request 'http://xx.xx.xx.xx/pipelineInfo' [GET]>
and i am trying to get data from the request object as
request.json.get('xxx',NONE)
and also as
request.get('XXX',NONE)
but failed to get a response and getting an error as
Exception : 'Request' object has no attribute 'get' and Exception : 'Request' object has no attribute 'json'.
Can someone suggest me what the issue will be?