title: Python PUT requests, send int instead of string
body: <p>I need to use a PUT request from python's library requests. The XML has to be String, but I need to send the value  as an Int.</p>
  
  <pre><code>import requests
  bodyXML = """&lt;?xml version='1.0' encoding='utf-8'?&gt;&lt;parameters&gt;&lt;value&gt;6&lt;/value&gt;&lt;/parameters&gt;"""
  bodyHeader = {'Content-Type': 'application/xml'}
  p = requests.put('http://test.pt:1891/cash', data=bodyXML, headers=bodyHeader)
  </code></pre>
  
  <p>The answer is:</p>
  
  <pre><code>&lt;?xml version = "1.0" encoding = "UTF-8"?&gt;&lt;reply-text&gt;Value must be numeric.&lt;/reply-text&gt; 
  </code></pre>
  
  <p>That's an answer from the program, so I can reach the target and get the response.</p>
  
  <p>If I change 6 to """ + 6 + """, I receive an error in Python</p>
  
  <pre><code>TypeError: must be str, not int
  </code></pre>
  
  <p>How can I camuflate the integer as String?</p>