Minor corrections following testing.

Corrected wrong method call in WebAPI.pm on wired switches.