Fixed issue with hanging connection if branch parameter was missing for plugin API URLs
Merge pull request #655 from tbouron/patch_middleware_api

Patch middleware api route