- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Given the URL helper product_path(@product), which statement would be expected to be false?

1.If sent using the PATCH HTTP method, the URL could be used to update a product in the database.

2.If sent using the POST HTTP method, the URL would create a new product in the database.

3.If sent using the GET HTTP method, the URL would execute the show action in ProductsController.

4. If sent using the DELETE HTTP method, the URL would call the destroy action by default.

Posted Date:-2022-09-17 03:42:47


More MCQS Questions and answers

Search