saayam-for-all / api

Saayam APIs implemented with Amazon Gateway API infrastructure.
0 stars 0 forks source link

Profile Picture API #7

Open vighneshsridhar opened 2 months ago

vighneshsridhar commented 2 months ago

Write a lambda function for an API that accepts a profile picture from the front end. The parameters taken include image data which is a Base64 encoded string and userId. Then, the lambda function forwards the data to a micro service API endpoint that handles the upload. The micro service then determines the status of the upload and the URL of the image, and the lambda function forwards the response from the micro service back to the front end.