Rearranged order so requestOptions come first
Completed example