Update api.html

Fixes typo (from <-> form)
Merge pull request #666 from nofatclips/patch-1

Update api.html