
The Complete Strapi™ Course with Plugins and Deployment - Post Likes: Part 2
Interactive Video
•
Information Technology (IT), Architecture
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the custom service in the controller action?
To create a new post
To delete a post
To handle the logic of updating a post with a new like
To directly update the post within the controller
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What information is passed to the custom service from the context object?
User password and token
Post title and content
User name and email
Post ID and user ID
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first step in creating the custom like post service?
Fetching the post
Structuring the arguments
Deleting the post
Sending a response
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the payload contain when updating a post?
All the fields to be read
All the fields to be created
All the fields to be updated
All the fields to be deleted
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How is the existing array of likes updated with a new like?
By replacing the existing array
By ignoring the existing array
By deleting the existing array
By adding a new entry to the existing array
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What tool is used to test the implementation of the like post service?
Swagger
Postman
Jenkins
Docker
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is crucial to include in API requests to ensure proper functionality?
Passwords
Usernames
Query strings
Emails
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?