Replace POST with PUT
Change the PUT parameter to 'document'