Closed counselorbot[bot] closed 2 years ago
Move on to the next issue.
Go ahead and merge this branch to main
to move on. Great work finishing this section!
⚠️ If you receive a
Conflicts
error, simply pressResolve conflicts
and you should be good to merge!
Week 4 Step 6 ⬤⬤⬤⬤⬤⬤◯ | 🕐 Estimated completion: 5-20 minutes
One Cat isn't enough ~ Meow
Now that we've got a frontend that can only return one picture, let's take it to the next level and return FOUR pictures at the same time. To do this, let's edit our old twoCatz function.
✅ Task:
twocatz-frontend
branchname1
,name2
,name3
,name4
) and returns four pictures in base64 with the parameters.twocatz/index.js
and test your result with Postmantwocatz-frontend
ontomain
, and only merge the pull request when the bot approves your changes!‼️ Requirements
TWOCATZ_ENDPOINT
secret since you are editing the same function🚧 Test your Work
Open up Postman again since we are testing an API.
⚠️ Make a GET request with the four name parameters. Do you get a JSON object containing
name1
,name2
,name3
, andname4
attributes encoded in base64?