Krysalis Bikini
 
  Font size:      
 

First Post

PDF
PDF

Overview

First Post A Simple Test of a single post.

Post the First Entry.

Post the First Entry. The hello-world example right from the RFC

Fixme ( ant )
Sample post
Fixme ( ant )
Sample response

1-first.post

POST ${introspection.create-entry /reilly} HTTP/1.1
Content-Type: application/x.atom+xml

<?xml version="1.0" encoding='iso-8859-1'?>
<entry xmlns="http://example.com/newformat#" >  
    <title>My First Entry</title> 
    <subtitle>In which a newbie learns to blog...</subtitle> 
    <summary>A very boring entry...</summary> 
 
    <author> 
      <name>Bob B. Bobbington</name> 
      <homepage>http://bob.name/</homepage> 
      <weblog>http://bob.blog/</weblog> 
    </author> 

    <issued>2003-02-05T12:29:29</issued> 
 
    <content type="application/xhtml+xml" xml:lang="en-us"> 
      <p xmlns="...">Hello, <em>weblog</em> world! 2 &lt; 4!</p> 
    </content>  
</entry> 

1-first.resp

HTTP/1.1 201 Created
Location: $["*" location http://example.org/reilly/1]


Valid HTML 4.01!Valid CSS!