#!/usr/bin/bash

# Create 'a'  
curl -i -XPUT localhost:8080/rest/a

# Create 'a/b/c' ('b' is a ghost node)
curl -i -XPUT localhost:8080/rest/a/b/c

# GET 'a/b' - expect 404
curl -i localhost:8080/rest/a/b

# Create 'a/b' - expect 409 -- but no!, it is a 201
curl -i -XPUT localhost:8080/rest/a/b

# GET 'a/b' - expect 404 -- but, no! it is a 200
curl -i localhost:8080/rest/a/b


