Forbidden methods alternatives

What to do when only possible HTTP methods are POST and GET