I am using Composite API to get the opportunity record but facing 302 error
{
"compositeRequest" : [
{
"method" : "GET",
"url" : "/services/data/v42.0/query/?q=select+id,Opportunity_No__c+from+Opporunity+where+Opportunity_No__c='OP-0000014'",
"referenceId" : "refOpporrunityInfo"
}]
}
URL: https://vei-dev-ed.lightning.force.com/services/data/v42.0/composite
Method: POST
Header:
Authorization: Bearer token
Content-Type: application/json
Can anyone help me on this.
Thanks in advance
Regards, Lavanya