AWS API Gateway endpoint problem

I’ve deployed my first serverless app with no problems. Trying to execute a simple hello world from AWS lambda console works ok.

Problem is when I try to call it using the API gateway endpoint, I’m getting an error

Cannot GET /dev/hello
Trying not to use the stage i get Cannot GET /hello

My serverless.yml has the following

functions:
appServerInfo:
handler: src/app/serverInfo.handler
events:
- http: GET hello

If I change the file to

functions:
appServerInfo:
handler: src/app/serverInfo.handler
events:
- http: ANY /
- http: ‘ANY {proxy+}’

it works, so I think there’s something wrong with my events configurations