Added post options and attachments
Fix mdedit API usage