Revision cfc4b87c snf-astakos-app/astakos/api/util.py

b/snf-astakos-app/astakos/api/util.py
165 165
    # Error Response Codes: BadRequest (400)
166 166

  
167 167
    try:
168
        input_data = json.loads(request.raw_post_data)
168
        input_data = json.loads(request.body)
169 169
    except:
170 170
        raise faults.BadRequest('Request body should be json formatted.')
171 171
    else:

Also available in: Unified diff