title: Setting cookie in browser using AWS API Gateway and lambda
body: <p>Trying to set a cookie through AWS lambda and API gateway, by following this <a href="https://aws.amazon.com/blogs/compute/simply-serverless-using-aws-lambda-to-expose-custom-cookies-with-api-gateway/" rel="nofollow">blog</a>.</p>
  
  <p>After following the steps, a cookie is seen in the response headers,(i.e. it shows in the developer tools -> Network -> Cookies), but the cookie is not set in the browser (i.e. does not persist at all).</p>
  
  <p>Any suggestions?</p>
  
  <p>Thank you.</p>