title: adding x-www-form-urlencoded to post request
body: <p><a href="https://i.stack.imgur.com/Flwf5.png" rel="nofollow noreferrer">example from postman</a></p>
  <pre><code>import urllib2
  url = &quot;http://www.example.com/posts&quot;
      
  req = urllib2.Request(url,headers={'User-Agent' : &quot;Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.30 (KHTML, like Gecko) Ubuntu/11.04 Chromium/12.0.742.112 Chrome/12.0.742.112 Safari/534.30&quot; , &quot;Content-Type&quot;: &quot;application/x-www-form-urlencoded&quot;})
  con = urllib2.urlopen(req)
  print con.read()
  </code></pre>
  <p>now this code works fine but i want to add the value as you see in postman picture to get the response that i want i don't know how to add the key and value <code>postid = 134686</code>  to python and it's post request in postman</p>