<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ebasso.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Python%3A_Usando_a_biblioteca_Requests</id>
	<title>Python: Usando a biblioteca Requests - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ebasso.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Python%3A_Usando_a_biblioteca_Requests"/>
	<link rel="alternate" type="text/html" href="https://ebasso.net/wiki/index.php?title=Python:_Usando_a_biblioteca_Requests&amp;action=history"/>
	<updated>2026-06-02T10:42:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://ebasso.net/wiki/index.php?title=Python:_Usando_a_biblioteca_Requests&amp;diff=3850&amp;oldid=prev</id>
		<title>Ebasso at 17:41, 17 November 2016</title>
		<link rel="alternate" type="text/html" href="https://ebasso.net/wiki/index.php?title=Python:_Usando_a_biblioteca_Requests&amp;diff=3850&amp;oldid=prev"/>
		<updated>2016-11-17T17:41:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 17:41, 17 November 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Para demostrar vou adicionar um código que faz diversos requests ao site http://httpbin.org/.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Para demostrar vou adicionar um código que faz diversos requests ao site http://httpbin.org/.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mais detalhes olhar na documentação -&amp;gt; http://docs.python-requests.org/en/latest/user/quickstart/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Mais detalhes olhar na documentação -&amp;gt; http://docs.python-requests.org/en/latest/user/quickstart/ &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;. Ou outro exemplo no site http://www.pythonforbeginners.com/requests/using-requests-in-python&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Trabalhando com a biblioteca Requests=  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Trabalhando com a biblioteca Requests=  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ebasso_wikidb:diff::1.12:old-3848:rev-3850 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ebasso</name></author>
	</entry>
	<entry>
		<id>https://ebasso.net/wiki/index.php?title=Python:_Usando_a_biblioteca_Requests&amp;diff=3848&amp;oldid=prev</id>
		<title>Ebasso at 13:21, 17 November 2016</title>
		<link rel="alternate" type="text/html" href="https://ebasso.net/wiki/index.php?title=Python:_Usando_a_biblioteca_Requests&amp;diff=3848&amp;oldid=prev"/>
		<updated>2016-11-17T13:21:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:21, 17 November 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Para demostrar vou adicionar um código que faz diversos requests ao site http://httpbin.org/.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Para demostrar vou adicionar um código que faz diversos requests ao site http://httpbin.org/.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Mais detalhes olhar na documentação -&gt; http://docs.python-requests.org/en/latest/user/quickstart/&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Trabalhando com a biblioteca Requests=  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Trabalhando com a biblioteca Requests=  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  import requests&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  import requests&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  WORD_URL = &#039;http://&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;localhost:5000&lt;/del&gt;&#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  WORD_URL = &#039;http://&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;httpbin.org/&lt;/ins&gt;&#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  # Get&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  # Get&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key ebasso_wikidb:diff::1.12:old-3847:rev-3848 --&gt;
&lt;/table&gt;</summary>
		<author><name>Ebasso</name></author>
	</entry>
	<entry>
		<id>https://ebasso.net/wiki/index.php?title=Python:_Usando_a_biblioteca_Requests&amp;diff=3847&amp;oldid=prev</id>
		<title>Ebasso: Criou a página com &quot;A biblioteca Requests é uma simples e elegante biblioteca HTTP para Python, que auxilia muito no acesso as informações que usam o protocolo HTTP.  Para demostrar vou adic...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ebasso.net/wiki/index.php?title=Python:_Usando_a_biblioteca_Requests&amp;diff=3847&amp;oldid=prev"/>
		<updated>2016-11-17T13:15:01Z</updated>

		<summary type="html">&lt;p&gt;Criou a página com &amp;quot;A biblioteca Requests é uma simples e elegante biblioteca HTTP para Python, que auxilia muito no acesso as informações que usam o protocolo HTTP.  Para demostrar vou adic...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A biblioteca Requests é uma simples e elegante biblioteca HTTP para Python, que auxilia muito no acesso as informações que usam o protocolo HTTP.&lt;br /&gt;
&lt;br /&gt;
Para demostrar vou adicionar um código que faz diversos requests ao site http://httpbin.org/.&lt;br /&gt;
&lt;br /&gt;
= Trabalhando com a biblioteca Requests= &lt;br /&gt;
&lt;br /&gt;
== Instalando ==&lt;br /&gt;
&lt;br /&gt;
 pip install requests&lt;br /&gt;
&lt;br /&gt;
== Exemplo ==&lt;br /&gt;
&lt;br /&gt;
Criar o arquivo ex_req.py, com o conteúdo&lt;br /&gt;
&lt;br /&gt;
 import requests&lt;br /&gt;
 &lt;br /&gt;
 WORD_URL = &amp;#039;http://localhost:5000&amp;#039;&lt;br /&gt;
 &lt;br /&gt;
 # Get&lt;br /&gt;
 r = requests.get(WORD_URL + &amp;#039;/events&amp;#039;)&lt;br /&gt;
 print &amp;#039;requests.get -&amp;gt; %s = %s&amp;#039; % (r.url, r)&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 #################### URLs ####################&lt;br /&gt;
 # HTTP Post&lt;br /&gt;
 r = requests.post(WORD_URL + &amp;#039;/post&amp;#039;, data = {&amp;#039;key&amp;#039;:&amp;#039;value&amp;#039;})&lt;br /&gt;
 print &amp;#039;requests.post -&amp;gt; %s = %s&amp;#039; % (r.url, r)&lt;br /&gt;
 &lt;br /&gt;
 # HTTP Put&lt;br /&gt;
 r = requests.put(WORD_URL + &amp;#039;/put&amp;#039;, data = {&amp;#039;key&amp;#039;:&amp;#039;value&amp;#039;})&lt;br /&gt;
 print &amp;#039;requests.put -&amp;gt; %s = %s&amp;#039; % (r.url, r)&lt;br /&gt;
 &lt;br /&gt;
 # HTTP Delete&lt;br /&gt;
 r = requests.delete(WORD_URL + &amp;#039;/delete&amp;#039;)&lt;br /&gt;
 print &amp;#039;requests.delete -&amp;gt; %s = %s&amp;#039; % (r.url, r)&lt;br /&gt;
 &lt;br /&gt;
 # HTTP head&lt;br /&gt;
 r = requests.head(WORD_URL + &amp;#039;/get&amp;#039;)&lt;br /&gt;
 print &amp;#039;requests.head -&amp;gt; %s = %s&amp;#039; % (r.url, r)&lt;br /&gt;
 &lt;br /&gt;
 # HTTP Options&lt;br /&gt;
 r = requests.options(WORD_URL + &amp;#039;/get&amp;#039;)&lt;br /&gt;
 print &amp;#039;requests.options -&amp;gt; %s = %s&amp;#039; % (r.url, r)&lt;br /&gt;
 &lt;br /&gt;
 # HTTP Get passando valores&lt;br /&gt;
 payload = {&amp;#039;key1&amp;#039;: &amp;#039;value1&amp;#039;, &amp;#039;key2&amp;#039;: &amp;#039;value2&amp;#039;}&lt;br /&gt;
 r = requests.get(WORD_URL + &amp;#039;/get&amp;#039;, params=payload)&lt;br /&gt;
 print &amp;#039;requests.get -&amp;gt; %s = %s&amp;#039; % (r.url, r)&lt;br /&gt;
&lt;br /&gt;
Executar com o comando&lt;br /&gt;
&lt;br /&gt;
 python ex_req.py&lt;br /&gt;
&lt;br /&gt;
= Instalando o httpbin localmente =&lt;br /&gt;
&lt;br /&gt;
Se não quiser utilizar a versão remota do httpbin.org, você pode instalar local&lt;br /&gt;
&lt;br /&gt;
 pip install httpbin&lt;br /&gt;
&lt;br /&gt;
para executar &lt;br /&gt;
&lt;br /&gt;
 python -m httpbin.core&lt;br /&gt;
&lt;br /&gt;
basta acessar na url http://127.0.0.1:5000/&lt;br /&gt;
&lt;br /&gt;
= Ver também =&lt;br /&gt;
&lt;br /&gt;
* [[NodeJs: Instalando o NodeJs no Linux]]&lt;br /&gt;
* [[MongoDB: Instalando o MongoDB no Linux]]&lt;br /&gt;
* [[Nginx: Instalando o Nginx no Linux]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*[[Linux|  Mais Artigos sobre Linux / UNIX / AIX]]&lt;br /&gt;
*[[Cloud|  Mais Artigos sobre Cloud / WebDev / Tecnologias]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Cloud]]&lt;br /&gt;
[[Category:WebDev]]&lt;br /&gt;
[[Category:Tecnologias]]&lt;br /&gt;
[[Category:Python]]&lt;/div&gt;</summary>
		<author><name>Ebasso</name></author>
	</entry>
</feed>