add option for allowing post requests in frontend routing