{"id":66,"date":"2015-10-21T22:08:55","date_gmt":"2015-10-21T22:08:55","guid":{"rendered":"http:\/\/zappysys.com\/blog\/?p=66"},"modified":"2025-10-17T02:02:56","modified_gmt":"2025-10-17T02:02:56","slug":"ssis-rest-api-task-pass-cookies-to-web-request","status":"publish","type":"post","link":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/","title":{"rendered":"Working with HTTP Cookies in SSIS or ODBC"},"content":{"rendered":"<h2>Introduction<\/h2>\n<p>In this post, you will learn how to Parse Cookies from a Response and Pass Cookies to any Web Requests.\u00a0<a target=\"_blank\" rel=\"noopener\">SSIS PowerPack v1.8.2<\/a> introduced a new feature that allows sending and receiving cookies with HTTP Web Request\/Response.<\/p>\n<p>We will use the <a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-file-source\/\">SSIS REST API Task<\/a> to parse cookie values and then send <strong>cookies <\/strong>along with an HTTP Web Request. <em>Cookies <\/em>are beneficial for maintaining session state across multiple web requests.<\/p>\n<h2>Understanding Cookies<\/h2>\n<p>Let&#8217;s look at an example of\u00a0<a href=\"https:\/\/en.wikipedia.org\/wiki\/HTTP_cookie\" target=\"_blank\" rel=\"noopener\">how Cookie works<\/a>. A cookie is a way of communication. Which means you can pass values to the Server or the Server can pass values to you.<\/p>\n<h3><strong>Getting Cookies from Server (Web Response)<\/strong><\/h3>\n<p>Many web APIs or sites send you cookies. If you are using a Browser, then it automatically saves for later use. The most common example is login pages. When you authenticate, the server sends cookies back via the Set-Cookie header. The server may send one or more Set-Cookie headers.\u00a0 When you use the <a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-file-source\/\">SSIS REST API Task<\/a>, you can map such a value on the Response Tab.\u00a0<span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">However, one crucial difference is that the REST API Task will\u00a0<span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\">send only one\u00a0<strong>Set-Cookie<\/strong> header, combining all cookies\u00a0<\/span>in Key1=Value1; Key2=Value2 &#8230; so on.<\/span> You can use Cookie Tab to Parse each Cookie and save to a separate variable (Explained in the next section)<\/p>\n<p><strong>Web Request:<\/strong><\/p>\n<pre class=\"lang:default highlight:0 decode:true\">POST http:\/\/mysite.com\/login\r\nContent-Type: application\/x-www-form-urlencoded\r\n\r\nuserid=SOME_USER_NAME&amp;password=SOME_PASSWORD\r\n<\/pre>\n<p><strong>Web Response:<\/strong><\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre class=\"\">Set-Cookie: SitePreference=MobileVersion\r\nSet-Cookie: SessionId=12345\r\nSet-Cookie: LoginToken=AAA111222; Expires=Wed, 09 Jun 2021 10:18:14 GMT\r\n...\r\n...<\/pre>\n<\/div>\n<h3><strong>Passing Cookies to Server (Web Request)<\/strong><\/h3>\n<p>The user can pass one or multiple values in the form of Cookies to the server. To pass Cookie (s) to the Server, you have to send the\u00a0 <strong>Cookie<\/strong> header as follows<\/p>\n<p><strong>Web Request:<\/strong><\/p>\n<div class=\"mw-highlight mw-content-ltr\" dir=\"ltr\">\n<pre class=\"lang:default decode:true\">GET http:\/\/mysite.com\/securepage.html\r\nCookie: LoginToken=AAA1112222; SessionId=1234\r\n...\r\n...<\/pre>\n<p>&nbsp;<\/p>\n<\/div>\n<h2>Reading Cookies from Web Response using SSIS<\/h2>\n<p><span style=\"box-sizing: border-box; margin: 0px; padding: 0px;\"><a target=\"_blank\" rel=\"noopener\">SSIS REST API Task<\/a> supports reading cookies in three different ways.<\/span><\/p>\n<h3>Method-1 (for SSIS \/ ODBC): Dynamic Token with Retain Cookie Setting (Using Cookie from Login)<\/h3>\n<p>In the new version of the HTTP Connection UI, you can find Retain Cookie settings as shown below.<\/p>\n<div id=\"attachment_11562\" style=\"width: 814px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11562\" class=\"size-full wp-image-11562\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png\" alt=\"\" width=\"804\" height=\"704\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png 804w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration-300x263.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration-768x672.png 768w\" sizes=\"(max-width: 804px) 100vw, 804px\" \/><\/a><p id=\"caption-attachment-11562\" class=\"wp-caption-text\">Dynamic token configuration<\/p><\/div>\n<div id=\"attachment_11564\" style=\"width: 626px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-sending-request.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11564\" class=\"size-full wp-image-11564\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-sending-request.png\" alt=\"\" width=\"616\" height=\"593\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-sending-request.png 616w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-sending-request-300x289.png 300w\" sizes=\"(max-width: 616px) 100vw, 616px\" \/><\/a><p id=\"caption-attachment-11564\" class=\"wp-caption-text\">Dynamic token &#8211; sending the request<\/p><\/div>\n<p>If you are not receiving a Token from the response and only want to use Cookies, then set the following way (Enter Fake Regular expression (i.e., word like &#8220;SOME-FAKE&#8221; is fine )<\/p>\n<div id=\"attachment_11563\" style=\"width: 630px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-save-response.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11563\" class=\"size-full wp-image-11563\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-save-response.png\" alt=\"\" width=\"620\" height=\"530\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-save-response.png 620w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-save-response-300x256.png 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/a><p id=\"caption-attachment-11563\" class=\"wp-caption-text\">Dynamic token &#8211; save the response<\/p><\/div>\n<h3>Method-2 (for SSIS): Reading \/ Parsing Multiple Cookies (Save to SSIS variables)<\/h3>\n<p>If you like to save cookie value(s) into separate SSIS variable(s), then you can use <a href=\"\/\/zappysys.com\/products\/ssis-powerpack\/ssis-json-file-source\/\">SSIS REST API Task<\/a> &gt;&gt; Cookie Tab to configure Mappings. Perform the following steps.<\/p>\n<ol>\n<li>Configure REST API Task with necessary information (e.g., URL, Headers, Body)<\/li>\n<li>Go to the Cookie Tab. In the Mapping Grid, enter each Cookie Name and map it to an SSIS Variable, as shown below. When you run the SSIS Package, you will see values stored in the variable.<\/li>\n<\/ol>\n<div id=\"attachment_11568\" style=\"width: 919px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-tab.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11568\" class=\"size-full wp-image-11568\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-tab.png\" alt=\"\" width=\"909\" height=\"607\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-tab.png 909w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-tab-300x200.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-tab-768x513.png 768w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-tab-272x182.png 272w\" sizes=\"(max-width: 909px) 100vw, 909px\" \/><\/a><p id=\"caption-attachment-11568\" class=\"wp-caption-text\">REST API task &#8211; Cookies tab<\/p><\/div>\n<h3>Method-3 (for SSIS): Read as raw cookie string<\/h3>\n<p>Sometimes you may need to see all cookies in key\/value pairs and save them to a variable. If that&#8217;s the case, then use the Response setting tab and map the <strong>Set-Cookie<\/strong> Response Header to some SSIS Variable.<\/p>\n<div id=\"attachment_11569\" style=\"width: 792px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Raw-cookie.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11569\" class=\"size-full wp-image-11569\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Raw-cookie.png\" alt=\"\" width=\"782\" height=\"661\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Raw-cookie.png 782w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Raw-cookie-300x254.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Raw-cookie-768x649.png 768w\" sizes=\"(max-width: 782px) 100vw, 782px\" \/><\/a><p id=\"caption-attachment-11569\" class=\"wp-caption-text\">REST API task &#8211; Raw Cookie<\/p><\/div>\n<div id=\"attachment_11565\" style=\"width: 653px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Final-Result-cookies.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11565\" class=\"size-full wp-image-11565\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Final-Result-cookies.png\" alt=\"\" width=\"643\" height=\"234\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Final-Result-cookies.png 643w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Final-Result-cookies-300x109.png 300w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/a><p id=\"caption-attachment-11565\" class=\"wp-caption-text\">Final Result &#8211; cookies<\/p><\/div>\n<h3>Method-4 (for SSIS): Read Cookies \u00a0as CookieContainer<\/h3>\n<p>Now, let&#8217;s look at how to use the CookieContainer Variable to save the Session across multiple API calls. All you have to do is create an Object datatype variable and select the same variable across various tasks.<\/p>\n<p>In the example below, the first task is &#8220;Set Cookies&#8221;.It&#8217;s similar to a Login call in a traditional API call, where you get cookies back from the server. Call web url &#8220;http:\/\/httpbin.org\/cookies\/set?k2=val2&amp;k1=myval1&#8221;, this generates some cookies and places them into a variable called &#8220;varCookies&#8221; (Must be Object datatype)<\/p>\n<p>In the next step, we call the URL &#8220;http:\/\/httpbin.org\/cookies&#8221; and pass the previously captured cookies from &#8220;varCookies&#8221; (Set on the Cookies tab). And the 3rd step displays the response from the URL (this demo URL returns all supplied cookies in JSON format).<\/p>\n<div id=\"attachment_11566\" style=\"width: 798px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-cookie-container.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11566\" class=\"size-full wp-image-11566\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-cookie-container.png\" alt=\"\" width=\"788\" height=\"617\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-cookie-container.png 788w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-cookie-container-300x235.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-cookie-container-768x601.png 768w\" sizes=\"(max-width: 788px) 100vw, 788px\" \/><\/a><p id=\"caption-attachment-11566\" class=\"wp-caption-text\">SSIS REST API Task &#8211; Send Cookies with HTTP Web Request, Store Cookies in Variable<\/p><\/div>\n<h2>Pass Cookies to Web API (for SSIS \/ ODBC)<\/h2>\n<p>Now, let&#8217;s look at how to Pass Cookie (s) along with your Web Request<\/p>\n<p>To pass a cookie, you have to use the Cookie HTTP Header. You can pass multiple cookies in a single header as below<\/p>\n<pre class=\"\">Cookie : Key1=value1; Key2=Value2<\/pre>\n<p>You can use an SSIS variable to pass a dynamic value, as shown in the screenshot below. (e.g. MyCookieName={{User::MyVariable}} )<\/p>\n<div id=\"attachment_11567\" style=\"width: 797px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-inside-the-header.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11567\" class=\"size-full wp-image-11567\" src=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-inside-the-header.png\" alt=\"\" width=\"787\" height=\"671\" srcset=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-inside-the-header.png 787w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-inside-the-header-300x256.png 300w, https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/REST-API-task-Cookies-inside-the-header-768x655.png 768w\" sizes=\"(max-width: 787px) 100vw, 787px\" \/><\/a><p id=\"caption-attachment-11567\" class=\"wp-caption-text\">REST API task &#8211; Cookies inside the header<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Introduction In this post, you will learn how to Parse Cookies from a Response and Pass Cookies to any Web Requests.\u00a0SSIS PowerPack v1.8.2 introduced a new feature that allows sending and receiving cookies with HTTP Web Request\/Response. We will use the SSIS REST API Task to parse cookie values and then send cookies along with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11562,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[14,15,6,3,12,4],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\r\n<title>Working with HTTP Cookies in SSIS or ODBC | ZappySys Blog<\/title>\r\n<meta name=\"description\" content=\"Learn how use SSIS API Task to read cookies from web response, to pass cookie along with web request and making dynamic web request for REST API \/ Web API\" \/>\r\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\r\n<link rel=\"canonical\" href=\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/\" \/>\r\n<meta property=\"og:locale\" content=\"en_US\" \/>\r\n<meta property=\"og:type\" content=\"article\" \/>\r\n<meta property=\"og:title\" content=\"Working with HTTP Cookies in SSIS or ODBC | ZappySys Blog\" \/>\r\n<meta property=\"og:description\" content=\"Learn how use SSIS API Task to read cookies from web response, to pass cookie along with web request and making dynamic web request for REST API \/ Web API\" \/>\r\n<meta property=\"og:url\" content=\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/\" \/>\r\n<meta property=\"og:site_name\" content=\"ZappySys Blog\" \/>\r\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ZappySys\/\" \/>\r\n<meta property=\"article:published_time\" content=\"2015-10-21T22:08:55+00:00\" \/>\r\n<meta property=\"article:modified_time\" content=\"2025-10-17T02:02:56+00:00\" \/>\r\n<meta property=\"og:image\" content=\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png\" \/>\r\n\t<meta property=\"og:image:width\" content=\"804\" \/>\r\n\t<meta property=\"og:image:height\" content=\"704\" \/>\r\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\r\n<meta name=\"author\" content=\"ZappySys\" \/>\r\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\r\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/zappysys\/\" \/>\r\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ZappySys\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\r\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/\",\"url\":\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/\",\"name\":\"Working with HTTP Cookies in SSIS or ODBC | ZappySys Blog\",\"isPartOf\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png\",\"datePublished\":\"2015-10-21T22:08:55+00:00\",\"dateModified\":\"2025-10-17T02:02:56+00:00\",\"author\":{\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\"},\"description\":\"Learn how use SSIS API Task to read cookies from web response, to pass cookie along with web request and making dynamic web request for REST API \/ Web API\",\"breadcrumb\":{\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#primaryimage\",\"url\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png\",\"contentUrl\":\"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png\",\"width\":804,\"height\":704,\"caption\":\"Dynamic token configuration\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/zappysys.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Working with HTTP Cookies in SSIS or ODBC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/zappysys.com\/blog\/#website\",\"url\":\"https:\/\/zappysys.com\/blog\/\",\"name\":\"ZappySys Blog\",\"description\":\"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/zappysys.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82\",\"name\":\"ZappySys\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g\",\"caption\":\"ZappySys\"},\"sameAs\":[\"http:\/\/www.zappysys.com\/\",\"https:\/\/www.facebook.com\/ZappySys\/\",\"https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/\"],\"url\":\"https:\/\/zappysys.com\/blog\/author\/admin\/\"}]}<\/script>\r\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Working with HTTP Cookies in SSIS or ODBC | ZappySys Blog","description":"Learn how use SSIS API Task to read cookies from web response, to pass cookie along with web request and making dynamic web request for REST API \/ Web API","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/","og_locale":"en_US","og_type":"article","og_title":"Working with HTTP Cookies in SSIS or ODBC | ZappySys Blog","og_description":"Learn how use SSIS API Task to read cookies from web response, to pass cookie along with web request and making dynamic web request for REST API \/ Web API","og_url":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/","og_site_name":"ZappySys Blog","article_author":"https:\/\/www.facebook.com\/ZappySys\/","article_published_time":"2015-10-21T22:08:55+00:00","article_modified_time":"2025-10-17T02:02:56+00:00","og_image":[{"width":804,"height":704,"url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png","type":"image\/png"}],"author":"ZappySys","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/zappysys\/","twitter_misc":{"Written by":"ZappySys","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/","url":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/","name":"Working with HTTP Cookies in SSIS or ODBC | ZappySys Blog","isPartOf":{"@id":"https:\/\/zappysys.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#primaryimage"},"image":{"@id":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#primaryimage"},"thumbnailUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png","datePublished":"2015-10-21T22:08:55+00:00","dateModified":"2025-10-17T02:02:56+00:00","author":{"@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82"},"description":"Learn how use SSIS API Task to read cookies from web response, to pass cookie along with web request and making dynamic web request for REST API \/ Web API","breadcrumb":{"@id":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#primaryimage","url":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png","contentUrl":"https:\/\/zappysys.com\/blog\/wp-content\/uploads\/2015\/10\/Dynamic-token-configuration.png","width":804,"height":704,"caption":"Dynamic token configuration"},{"@type":"BreadcrumbList","@id":"https:\/\/zappysys.com\/blog\/ssis-rest-api-task-pass-cookies-to-web-request\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zappysys.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Working with HTTP Cookies in SSIS or ODBC"}]},{"@type":"WebSite","@id":"https:\/\/zappysys.com\/blog\/#website","url":"https:\/\/zappysys.com\/blog\/","name":"ZappySys Blog","description":"SSIS \/ ODBC Drivers \/ API Connectors for JSON, XML, Azure, Amazon AWS, Salesforce, MongoDB and more","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zappysys.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/2756c237457fbc95d82cb38962f81f82","name":"ZappySys","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zappysys.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c9be148088ba9b8af8e955c5f7c22b5?s=96&d=mm&r=g","caption":"ZappySys"},"sameAs":["http:\/\/www.zappysys.com\/","https:\/\/www.facebook.com\/ZappySys\/","https:\/\/twitter.com\/https:\/\/twitter.com\/zappysys\/"],"url":"https:\/\/zappysys.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/66"}],"collection":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/comments?post=66"}],"version-history":[{"count":11,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/66\/revisions"}],"predecessor-version":[{"id":11570,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/posts\/66\/revisions\/11570"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media\/11562"}],"wp:attachment":[{"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/media?parent=66"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/categories?post=66"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zappysys.com\/blog\/wp-json\/wp\/v2\/tags?post=66"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}