x-portkey-api-key
header for authentication. Here’s an example of how to do it:
createHeaders
helper function from the Portkey SDK here to easily create Portkey headers.You can pass the raw headers (x-portkey-api-key
, x-portkey-provider
) directly in the defaultHeaders
param as well.