REST handler for getting the format options of a request