Skip to content

Java basic - custom event WeatherData. function url receive empty Body from postman call #370

Closed
@nghoanganh96

Description

@nghoanganh96

i run HandlerWeatherData in java-basic. Used the given event json as
{
"temperatureK": 281,
"windKmh": -3,
"humidityPct": 0.55,
"pressureHPa": 1020
}
. Invoke successfully once i tested on console lambda function with lambda url (NONE - public access). But when i run on postman the event WeatherData is empty {}
logger.info("EVENT: " + gson.toJson(event)); ==> output: EVENT: {}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions