handling non POST method calls
Fixing a little more the GET scenario
Handling POST with unsupported URL
Adapting to send the errorCode as success
Minor comment change to index.js