How can i get headers from the API response in the function?

If we store the api response in an object variable and use function node then is there a way to get headers from the response in that function?

Hey @dietcoke

Were you able to figure this out?

Hi,
We also need to get API response headers. Could you share how to do that please @dietcoke @gautham

@Arief_Halim We will access the API response headers in the parse function using ymLib.args.apiResponse.