monarul007 / product-review-api Goto Github PK
View Code? Open in Web Editor NEWA simple REST API endpoint using PHP (without any frameworks like Laravel) that allows a user to submit a product review. The endpoint accepts POST requests with JSON data containing a product ID, user ID, and the review text. Ensures basic validation of the input data and return an appropriate response.
License: MIT License