title: Rest template fail sending apple verification data
body: <p>I'm trying to validate from apple inapp purchase api using rest template and it fails. (works fine in postman). Postman collection: <a href="https://www.getpostman.com/collections/ff834957471c0293ef16" rel="nofollow noreferrer">collection postman</a></p>
  
  <p>How I can archive this using rest template? Is base64 encored data not allowed ?</p>
  
  <p>` HttpHeaders httpHeaders = new HttpHeaders();
         // httpHeaders.setContentType(MediaType.APPLICATION_JSON);
          //httpHeaders.setAccept(Arrays.asList(MediaType.APPLICATION_JSON));</p>
  
  <pre><code>    MultiValueMap&lt;String, String&gt; map = new LinkedMultiValueMap&lt;String, String&gt;();
      map.add(Constant.PURCHASE.RECEIPT_DATA, purchase.getReceiptData());
  
      HttpEntity&lt;MultiValueMap&lt;String, String&gt;&gt; request = new HttpEntity&lt;MultiValueMap&lt;String, String&gt;&gt;(map, httpHeaders);
  
      ResponseEntity&lt;String&gt; postResponse = restTemplate.postForEntity(iosPurchaseService, request, String.class);`
  </code></pre>