ActoKids / AD440_W19_CloudPracticum

3 stars 1 forks source link

BUG: GET endpoint for all events malfunctioning #106

Closed erikNeville closed 5 years ago

erikNeville commented 5 years ago

This bug also addresses the issue presented in bug: https://github.com/ActoKids/AD440_W19_CloudPracticum/issues/104

Environment: API GET event method Current Behavior: API call is returning invalid JSON data Expected Behavior: API GET call to return valid JSON data

There was a miscommunication about the UI retrieving data from DynamoDB and how it was all meant to be from a call to the API GET method. @hkhual Opened the bug mentioned above and it is since now resolved.

The API endpoint https://api.2edusite.com/v1/events was providing the UI team with data that was formatted with invalid JSON data that could not be parsed: image

The \'s before each key prevented us from calling GET to the API.

@ZakBrinlee Worked on his end to eliminate the superfluous \'s at that endpoint:

image

Currently the data at that endpoint looks like this: valid-json

ZakBrinlee commented 5 years ago

Issue:

Solution:

LambdaBUGFix

Closing this issue as Erik has indicated it has been resolved to the satisfaction of UI Team.