@api_view(["POST"])
def Addition(x):
number1=json.loads(x.body)
addition=str(number1+6)
return JsonResponse(" Addition is :"+addition+".",safe=False)
This is working code. Can any one please tell me how to add two inputs in body of postman for addition.