Added POST method processing.