add loading spinner for UI
fallback to GET if OPTIONS is 404