Ashish Gupta

Posted on Nov 24, 2022

ASHISH GUPTA
1-
{
  "id" : 128885,
  "name" : "Cat holder”,
  "parentCategory" : {
    "id" : 128884
  },
  "description" : “ACXM Interest, Pet holder, Cat holder”,
  "partner" : {
    "id" : 2202,
    "name" : “drishyam Corporation"
  },
  "vertical" : {
    "id" : 23,
    "name" : "Branded Data - Acxiom"
  },
  "isPublicFlag" : true,
  "isForNavigationOnlyFlag" : false,
  "ownershipType" : "thirdParty",
  "isLeafFlag" : true,
  "pathFromRoot" : {
    "ids" : [ 344, 24148, 150555, 319645, 288849, 288884, 288885 ],
    "names" : [ "ROOT", "Branded Data", "Acxiom", "Basic Rate", "ACXM Interest", "Pet holder”, "Cat holder” ]
  },
  "status" : "active",
  "links" : [ ]
}


2- class API (viewsets.viewset);
Def get(self ,request, id ,**kwargs);
serializer= Retrieve Serialisation(request.query_params);

serializer.is_valid(raise -eruption = True);
res =serializer.create(serializer.validated_data);
Return Response(res,statue_code =200);


3- The key things are -
* Use tokens. 
* Use encryption and signatures. ...
* Identify vulnerabilities. ...
* Use quotas and throttling. ...
* Use an API gateway.

 

4 - 
#include<iostream>
Using namespace std;
Int main()
{
Int A1 ,A2 ,A3,B1,B2,B3,C1,C2,C3 ;
cin>>A1>>A2 >>A3>>B1>>B2>>B3>>C1>>C2>>C3 >>end;

Cout<<A1 <<endl;
Cout<<A2<<endl;
Cout<<A3<<endl;
Cout<<B1 <<endl;
Cout<<B2 <<endl;
Cout<<B3<<endl;
C1 =5 +A1;
Cout<<C1<<endl;
C2  = A2+ B2;
Cout<<C2<<endl;
C3 = C2 + B3;
Cout<<C3<<endl;

return 0;

}
4.1 - i will tackle the above challenge by using c++ programming ,I’ll take input perform some
Operation on it and  then cout the required output.

4.2- I’ll check error of calculation in this CSV  file.
4.3 -user can use compiler of c++ and easily he can broke my code.