prepare for handling POST requests