Added POST API functionality