<?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: Sebastiangperez</title>
    <description>The latest articles on DEV Community by Sebastiangperez (@sebastiangperez).</description>
    <link>https://dev.to/sebastiangperez</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%2F121133%2F40af2f5e-d33a-4aff-a52f-9ef9d91439aa.png</url>
      <title>DEV Community: Sebastiangperez</title>
      <link>https://dev.to/sebastiangperez</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/sebastiangperez"/>
    <language>en</language>
    <item>
      <title>Axios, Vue, Laravel and External Api  (Fixed)</title>
      <dc:creator>Sebastiangperez</dc:creator>
      <pubDate>Wed, 11 Mar 2020 17:59:58 +0000</pubDate>
      <link>https://dev.to/sebastiangperez/axios-vue-laravel-and-external-api-3k5p</link>
      <guid>https://dev.to/sebastiangperez/axios-vue-laravel-and-external-api-3k5p</guid>
      <description>&lt;p&gt;I like to know why using fetch works and using axos gives me a CORS error. &lt;br&gt;
Im only using vue for fetching the data, i dont have any api from laravel, i just have a call from a simple componen on the mounted method and call it from the internal method like this : &lt;br&gt;
mounted() {&lt;br&gt;
          this.fetch(); &lt;br&gt;
        },&lt;br&gt;
        methods:{&lt;br&gt;
            fetch(){&lt;br&gt;
                axios.get('/search/shows?q=bluebook')&lt;br&gt;
                .then(function (result){&lt;br&gt;
                    console.log();&lt;br&gt;
                })&lt;br&gt;
}&lt;br&gt;
        }&lt;/p&gt;

&lt;p&gt;if i do this, i got a cors error , if i switch from axios to fetch , works without a problem. &lt;/p&gt;

&lt;p&gt;In the bootstrap.js file i have this: &lt;/p&gt;

&lt;p&gt;window.axios.defaults.baseURL = '&lt;a href="http://api.tvmaze.com"&gt;http://api.tvmaze.com&lt;/a&gt;';&lt;br&gt;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';&lt;br&gt;
window.axios.defaults.headers.common['Access-Control-Allow-Origin'] = '&lt;em&gt;';&lt;br&gt;
window.axios.defaults.headers.common['Content-Type'] = 'text/plain';&lt;br&gt;
window.axios.defaults.headers.common['Access-Control-Request-Method'] = '&lt;/em&gt;';&lt;/p&gt;

&lt;p&gt;also i tested using crossOrigin : true inside the get function but i got the same error.&lt;/p&gt;

&lt;p&gt;there is a bug in axios? in laravel? im missing something here? &lt;/p&gt;

&lt;p&gt;Thanks &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Axios, Vue, Laravel and External Api </title>
      <dc:creator>Sebastiangperez</dc:creator>
      <pubDate>Wed, 11 Mar 2020 17:59:56 +0000</pubDate>
      <link>https://dev.to/sebastiangperez/axios-vue-laravel-and-external-api-k73</link>
      <guid>https://dev.to/sebastiangperez/axios-vue-laravel-and-external-api-k73</guid>
      <description>&lt;p&gt;I like to know why using fetch works and using axos gives me a CORS error. &lt;br&gt;
Im only using vue for fetching the data, i dont have any api from laravel, i just have a call from a simple componen on the mounted method and call it from the internal method like this : &lt;br&gt;
mounted() {&lt;br&gt;
          this.fetch(); &lt;br&gt;
        },&lt;br&gt;
        methods:{&lt;br&gt;
            fetch(){&lt;br&gt;
                axios.get('/search/shows?q=bluebook')&lt;br&gt;
                .then(function (result){&lt;br&gt;
                    console.log();&lt;br&gt;
                })&lt;br&gt;
}&lt;br&gt;
        }&lt;/p&gt;

&lt;p&gt;if i do this, i got a cors error , if i switch from axios to fetch , works without a problem. &lt;/p&gt;

&lt;p&gt;In the bootstrap.js file i have this: &lt;/p&gt;

&lt;p&gt;window.axios.defaults.baseURL = '&lt;a href="http://api.tvmaze.com"&gt;http://api.tvmaze.com&lt;/a&gt;';&lt;br&gt;
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';&lt;br&gt;
window.axios.defaults.headers.common['Access-Control-Allow-Origin'] = '&lt;em&gt;';&lt;br&gt;
window.axios.defaults.headers.common['Content-Type'] = 'text/plain';&lt;br&gt;
window.axios.defaults.headers.common['Access-Control-Request-Method'] = '&lt;/em&gt;';&lt;/p&gt;

&lt;p&gt;also i tested using crossOrigin : true inside the get function but i got the same error.&lt;/p&gt;

&lt;p&gt;there is a bug in axios? in laravel? im missing something here? &lt;/p&gt;

&lt;p&gt;Thanks &lt;/p&gt;

</description>
    </item>
    <item>
      <title>SQL Query Help </title>
      <dc:creator>Sebastiangperez</dc:creator>
      <pubDate>Tue, 10 Dec 2019 19:56:32 +0000</pubDate>
      <link>https://dev.to/sebastiangperez/sql-query-help-13m9</link>
      <guid>https://dev.to/sebastiangperez/sql-query-help-13m9</guid>
      <description>&lt;p&gt;Im in one of those moments of lapsus where you think that im a fraud... &lt;br&gt;
I have a table with this columns:&lt;br&gt;
name , max , min &lt;br&gt;
test,  100 ,  40&lt;br&gt;
test2, 39 ,  20&lt;br&gt;
and i have a result of 35 , and i need to know if is test or test 2 but the value must be between those max and min. &lt;br&gt;
Does anyone knows a query to do that? &lt;/p&gt;

&lt;p&gt;thanks.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Fusion 360 on linux using Wine. </title>
      <dc:creator>Sebastiangperez</dc:creator>
      <pubDate>Wed, 08 May 2019 15:57:23 +0000</pubDate>
      <link>https://dev.to/sebastiangperez/fusion-360-on-linux-using-wine-58n6</link>
      <guid>https://dev.to/sebastiangperez/fusion-360-on-linux-using-wine-58n6</guid>
      <description>&lt;p&gt;Hi guys, recently i bought a Prusa I3 MK3s and i'm into 3D printing and i installed Fusion 360 on my Fedora 29 , but the viewport rendering is horrible, i mean, don't work properly. &lt;br&gt;
Did anyone done anything like this?&lt;br&gt;
Thanks. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Firefox Javascript Bug on arrays and Vue ? </title>
      <dc:creator>Sebastiangperez</dc:creator>
      <pubDate>Wed, 20 Mar 2019 16:08:54 +0000</pubDate>
      <link>https://dev.to/sebastiangperez/firefox-javascript-bug-on-arrays-and-vue---28bf</link>
      <guid>https://dev.to/sebastiangperez/firefox-javascript-bug-on-arrays-and-vue---28bf</guid>
      <description>&lt;p&gt;I have the following issue: &lt;br&gt;
i defined an array:&lt;/p&gt;

&lt;p&gt;and need to assign a value to this method and the array:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;{
Arr=[],

SetOption(index,data){

    Arr[index] = data 

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



</description>
      <category>firefox</category>
      <category>bug</category>
      <category>array</category>
    </item>
    <item>
      <title>Vuetify Datatable, vuex and Laravel pagination (Updated)</title>
      <dc:creator>Sebastiangperez</dc:creator>
      <pubDate>Mon, 11 Mar 2019 19:44:38 +0000</pubDate>
      <link>https://dev.to/sebastiangperez/vuetify-datatable-vuex-and-laravel-pagination-1d0o</link>
      <guid>https://dev.to/sebastiangperez/vuetify-datatable-vuex-and-laravel-pagination-1d0o</guid>
      <description>&lt;p&gt;There is someone here who can tell me how to achieve this? i couldn't find any good tutorial using the same keywords above. &lt;/p&gt;

&lt;p&gt;Thanks. &lt;/p&gt;

&lt;p&gt;Update: I just make it work by my self, terrible documentation and poor examples on the web btw.&lt;/p&gt;

</description>
      <category>vuetify</category>
      <category>vuex</category>
      <category>laravel</category>
    </item>
    <item>
      <title>Did Composer revive Php?</title>
      <dc:creator>Sebastiangperez</dc:creator>
      <pubDate>Wed, 06 Mar 2019 19:40:43 +0000</pubDate>
      <link>https://dev.to/sebastiangperez/did-composer-revive-php-4ehm</link>
      <guid>https://dev.to/sebastiangperez/did-composer-revive-php-4ehm</guid>
      <description>&lt;p&gt;Since composer is alive, PHP version got updated frecuently and revive, don't you think? &lt;/p&gt;

</description>
      <category>php</category>
      <category>composer</category>
    </item>
    <item>
      <title>Why Adobe doesn't care CS on Linux? </title>
      <dc:creator>Sebastiangperez</dc:creator>
      <pubDate>Tue, 26 Feb 2019 19:05:02 +0000</pubDate>
      <link>https://dev.to/sebastiangperez/why-adobe-doesnt-care-cs-on-linux--1138</link>
      <guid>https://dev.to/sebastiangperez/why-adobe-doesnt-care-cs-on-linux--1138</guid>
      <description>

</description>
      <category>adobe</category>
      <category>linux</category>
    </item>
  </channel>
</rss>
