<?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: Zeynep Düzgün</title>
    <description>The latest articles on DEV Community by Zeynep Düzgün (@zeyduzgun).</description>
    <link>https://dev.to/zeyduzgun</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%2F68593%2F3f9f7a4b-4174-4107-bf57-58de9c9c7020.jpg</url>
      <title>DEV Community: Zeynep Düzgün</title>
      <link>https://dev.to/zeyduzgun</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zeyduzgun"/>
    <language>en</language>
    <item>
      <title>Explain Restful Web Services like I'm five</title>
      <dc:creator>Zeynep Düzgün</dc:creator>
      <pubDate>Sat, 28 Apr 2018 09:17:22 +0000</pubDate>
      <link>https://dev.to/zeyduzgun/explain-restful-web-services-like-im-five-53ed</link>
      <guid>https://dev.to/zeyduzgun/explain-restful-web-services-like-im-five-53ed</guid>
      <description></description>
      <category>explainlikeimfive</category>
    </item>
    <item>
      <title>How to filter requests in Angular?</title>
      <dc:creator>Zeynep Düzgün</dc:creator>
      <pubDate>Tue, 24 Apr 2018 21:34:43 +0000</pubDate>
      <link>https://dev.to/zeyduzgun/how-to-filter-requests-in-angular-4l7i</link>
      <guid>https://dev.to/zeyduzgun/how-to-filter-requests-in-angular-4l7i</guid>
      <description>&lt;p&gt;Hi guys,&lt;br&gt;
I have been using Angular for my project for a while and I wonder that is there any way to filter my request responses or request itself? I mean for example, I have an event model and this model has many session models. For that reliationship I use weak relation that session knows the event but not vise versa. For that reason, I have to get the event first, then with its id I have to get all sessions although I need only one of them. So, Can I make my response limited when I request for event's sessions and so on?&lt;br&gt;
I know it sound complicated so feel free to ask for more detail about the situation.&lt;/p&gt;

&lt;p&gt;Thank you!&lt;/p&gt;

&lt;p&gt;Here is a code example :&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;getExperiences() {
    this.experienceService.listApprovedExperiences().subscribe(res =&amp;gt; {
      this.experiences = res;
      for (const experience of res) {
        this.getSessionList(experience.id);
    });
  }


  getSessionList(id: string) {
    this.experienceService.getSessionListByExperienceId(id).subscribe(res =&amp;gt; {
      if (res.length !== 0) {
        this.session.set(id, res[0]);

      } else {

      }
    });
  }

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

&lt;/div&gt;



</description>
      <category>discuss</category>
      <category>angular</category>
      <category>beginners</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
