title: Retrieve BASE64 encryption from AJAX call
body: <p>I am working on a scraper and I got stuck trying to figure out a base64 encrypted data being passed through AJAX that contains a products Size and Color information.</p>
  
  <p>Sample product URL:
  <a href="http://merchant.com/MARC-by-Marc-Jacobs-Orion-Metallic-Taffeta-1950s-Dress-Black/prod174690614/p.prod?eVar4=You%20May%20Also%20Like&amp;RST=CategorySiloedViewCP" rel="nofollow">http://merchant.com/MARC-by-Marc-Jacobs-Orion-Metallic-Taffeta-1950s-Dress-Black/prod174690614/p.prod?eVar4=You%20May%20Also%20Like&amp;RST=CategorySiloedViewCP</a></p>
  
  <p>Using Fiddler, I can see that it calls an AJAX service to retrieve the sizes and colors for this product: <a href="http://merchant.com/productserviceAJAX" rel="nofollow">http://merchant.com/productserviceAJAX</a></p>
  
  <p>It passes the following string: 
  data=$b64$eyJQcm9kdWN0U2l6ZUFuZENvbG9yIjp7InByb2R1Y3RJZHMiOiJwcm9kMTc0NjkwNjE0In19&amp;timestamp=1424678606863</p>
  
  <p>I need to be able to determine how to recreate the above string to be able to pass it to the service and I can get the returned JSON string from the AJAX call.</p>