title: non-RESTful vs. RESTful
body: <p>I am really new to programming, and having some trouble understanding the concept of RESTful APIs. I've read about REST and RESTful APIs. I've looked through the questions already asked here in SO, but can't seem to get any better understanding of the subject.</p>
  
  <p>In my network programming class I'm working with socket programming. There are two parts, part A and part B, in the task. </p>
  
  <p>In part A I've programmed a server that responds to GET and POST. The server either retrieves the file asked for by the client, or writes to the file. (HTTP-protocol is used).</p>
  
  <p>In part B I'm to use HTTP to implement a RESTful application. Basically it is a message server with the ability to handle GET, POST, PUT and DELETE. In this part the server is to create and interact with an xml-file.  I understand how the methods work. But what I really don't understand is the following:</p>
  
  <p>Why is the server in part A non-RESTful, while it is RESFTful in part B?</p>