Hello ,
When we are looking in to api call logs than headers and body are empty in all api calls ? can you please help what needs to send from api to capture things.
We believe we are using right method already . like this will be header :- curl_setopt($ch, CURLOPT_HTTPHEADER, array( ‘Content-Type: application/json’, 'Authorization: Bearer '.$access_token));
Sorry for the confusion on this. This is actually working as intended: Successful requests will only show the basic details, while requests that returned an error will show additional details for the request and response header and body.
Just to make sure that we’re on the same page, are you referring to the API call logging tool in your developer portal? Can you send me a link to your developer portal so that I can take a look?