CookieFunction
CookieFunction is an option for URLRead, HTTPRequest, and related functions that gives a function to apply to each cookie received when an HTTP response is received.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.