Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{
"product_id": 0,
"order_id": 0,
"rating": 0,
"review": "string",
"image": "string"
}
Request Code Samples
curl --location --request POST 'http://petfen-product.local.com:8082/api/v1/product/review/add' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"product_id": 0,
"order_id": 0,
"rating": 0,
"review": "string",
"image": "string"
}'
Responses
application/json {
"account_code": "e177cc1e-685e-4b18-bfcc-8c65f1e805f8",
"created_at": "0001-01-01T00:00:00Z",
"image": "https://avatars.githubusercontent.com/u/38449271",
"order_id": 3,
"product_id": 16,
"rating": 4,
"review": "good jobs"
}
Modified at 2025-02-14 08:54:11