I want to make a API request for login form component.The API sends an cookie in response in headers.How to extract that cookie and set the cookie for other API requests

this is how API response look ike

Welcome to the forum!
Check out this documentation, it may help: Custom API authentication