<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Riccardo Pirani</title>
    <description>The latest articles on DEV Community by Riccardo Pirani (@riccardopirani).</description>
    <link>https://dev.to/riccardopirani</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F354798%2Ff42c8643-49a9-4d1f-aa8a-46d84f737800.jpeg</url>
      <title>DEV Community: Riccardo Pirani</title>
      <link>https://dev.to/riccardopirani</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/riccardopirani"/>
    <language>en</language>
    <item>
      <title>Undefinend response with axios</title>
      <dc:creator>Riccardo Pirani</dc:creator>
      <pubDate>Tue, 24 Mar 2020 11:52:31 +0000</pubDate>
      <link>https://dev.to/riccardopirani/undefinend-response-with-axios-1a76</link>
      <guid>https://dev.to/riccardopirani/undefinend-response-with-axios-1a76</guid>
      <description>&lt;p&gt;Hi I have a question about the following code, this code makes a rest call with axios to a server, the value returns correctly from the node.js server, that is, if I test the call with postman I have a response with the integer value however in this case the value is undefined what is it due to?  &lt;/p&gt;

&lt;p&gt;axios.post(apiBaseUrl+'/utente/login', payload,header).then(function (response) {&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; console.log("\n Valore di response.data:"+response.data); //Undefinend?


} 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>react</category>
      <category>functional</category>
      <category>help</category>
    </item>
  </channel>
</rss>
