Closed steve-nicksic closed 3 years ago
Please complete after you've viewed the Week 2 livestream! If you haven't yet watched it but want to move on, just close this issue and come back to it later.
Help us improve BitCamp Serverless - thank you for your feedback! Here are some questions you may want to answer:
The livestream was very helpful. I don't think I could have completed the steps without it.
What was confusing about this week? If you could change or add something to this week, what would you do? Your feedback is valued and appreciated!
The only confusing part I think is sometimes between the livestream video and the separate step videos that are approached or filled out somewhat differently at times, but this is minor.
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 2 Step 8 ⬤⬤⬤⬤⬤⬤⬤⬤ | 🕐 Estimated completion: 5-10 minutes
Ok, Boomer :neutral_face:
✅ Task:
Modify your Azure Function so that it texts the user back with a song.
${}
to quickly insert stringssong4u/index.js
in thesong4u
branch🚧 Test Your Work
To test your work, try texting a jpg image to your Twilio number (with a face!). You should receive a text back that contains the required message format.
Example:
Working with JSON
JSON has keys and values. In our case, the generation is the key, and the url is the value.
See if you can determine the url with this syntax:
Shortcuts with Strings
You might be used to concatenating strings and variables like this:
That can get tiring, though. Try this syntax: