Update api.html

Fixes typo (from <-> form)