Use 201 after creating a document using json