Refer to the exhibit.
What data is expected by the POST /accounts endpoint?
A.
B.
C.
D.
Refer to the exhibit.
What data is expected by the POST /accounts endpoint?
A.
B.
C.
D.
The data expected by the POST /accounts endpoint should be in JSON format and include the fields: name, address, customer_since, balance, and bank_agent_id. Hence, the correct choice is C.
C is correct
C is correct. The content-type is application/json
The data expected by POST request is name, address, customer_since, balance, bank_agent_id. This rules out answers A and D as id is not expected. Second, look at the data type - application/json - rules out item B. Remaining answer = C.
C is the correct answer. When creating on post ID is not required (backend creates the ID, not post request), and if you see the example it expects application/json
D is 100% correct, Observe the output when you retrieve the data.
Sorry my bad, C is correct. explanation same. Mis type happend
C is correct
C is correct