Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Change AWS Post request to send a JSON #27

Description

@IdkwhatImD0ing

Currently, the AWS Post Request sends a JSON with one key, data, which contains the actual JSON stringified.
Server side, we have to do req.body.data[0].id to get the id and req.body.data[0].lat to get the latitude.

Change this so we only need to do req.body.id for the id and vice versa for latitude.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions