Without the right query param:
○ → curl -v localhost:80/mge?serviceName=SessionManagerSP
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 80 (#0)
> GET /mge?serviceName=SessionManagerSP HTTP/1.1
> Host: localhost
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 404 Not Found
< date: Wed, 26 May 2021 17:19:14 GMT
< server: envoy
< content-length: 0
<
* Connection #0 to host localhost left intact
* Closing connection 0
With the right query param:
○ → curl -v localhost:80/mge?serviceName=SessionManagerSP.getCoreSessions
* Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 80 (#0)
> GET /mge?serviceName=SessionManagerSP.getCoreSessions HTTP/1.1
> Host: localhost
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 200 OK
< date: Wed, 26 May 2021 17:17:55 GMT
< content-type: application/json; charset=utf-8
< content-length: 489
< etag: W/"1e9-euzX3lIS/m+3qcfZ7BXUqtBk+DM"
< vary: Accept-Encoding
< set-cookie: sails.sid=s%3ARA4vd8CsUanLgI-fVZuYUj0doNx-I-Er.oLNI%2B59%2FUQfrg4ZI4srvjKEa0Do4IND5gCanBBSbt90; Path=/; HttpOnly
< x-envoy-upstream-service-time: 223
< server: envoy
<
* Connection #0 to host localhost left intact
{"args":{"serviceName":"SessionManagerSP.getCoreSessions"},"headers":{"x-forwarded-proto":"http","x-forwarded-port":"80","host":"localhost","x-amzn-trace-id":"Root=1-60ae82c3-4da1a9122162019b3ec59e0f","user-agent":"curl/7.64.1","accept":"*/*","x-request-id":"f4630113-8d54-4c42-9b10-96300676a5dd","x-envoy-expected-rq-timeout-ms":"15000","x-envoy-original-path":"/mge?serviceName=SessionManagerSP.getCoreSessions"},"url":"http://localhost/get?serviceName=SessionManagerSP.getCoreSessions"}