1. Audio fayl jo’natilmagan holatda: could not execute statement; sql [n/a]; constraint [partaudio" of relation "product]; nested exception is org hibernate exception


Download 31.01 Kb.
Sana08.03.2023
Hajmi31.01 Kb.
#1249238

1. Audio fayl jo’natilmagan holatda:
could not execute statement; SQL [n/a]; constraint [partaudio" of relation "product]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement

curl 'https://api.main.edufy.me/v1/main/product/one/' \


-H 'Connection: keep-alive' \
-H 'sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"' \
-H 'Accept: application/json, text/plain, */*' \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Authorization: Bearer 0bdd4cf8-cc77-494f-922b-5a39e6be858f' \
-H 'sec-ch-ua-mobile: ?0' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36' \
-H 'sec-ch-ua-platform: "macOS"' \
-H 'Origin: http://localhost:3000' \
-H 'Sec-Fetch-Site: cross-site' \
-H 'Sec-Fetch-Mode: cors' \
-H 'Sec-Fetch-Dest: empty' \
-H 'Referer: http://localhost:3000/' \
-H 'Accept-Language: en-US,en;q=0.9,uz;q=0.8' \
--data-raw '{"img":265,"partText":264,"productPart":{"name":"John Doe","active":true,"file":266},"authorId":3,"categoryId":32,"created":1642227534852,"description":{"uz":["343"],"ru":["434"],"en":["gfgfg"]},"details":{"countPage":"454","countPart":1,"lengthAudio":""},"discount":"43","language":"UZBEK","name":"John Doe","partType":"ONE","price":"45","recommend":true}' \
--compressed

2. update qilishda


1 ta bobli avval qo'shilgan productni productpartini yangilashda shunaqa deyapti


3. bobda bir xil order o'tib ketypati
Download 31.01 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling