Introduction
This documentation aims to provide all the information you need to work with our API.
Base URL
http://localhost:8000
Authenticating requests
This API is not authenticated.
Endpoints
POST api/login
Example request:
curl --request POST \
"http://localhost:8000/api/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phoneoremail\": \"sapiente\",
\"password\": \"alias\"
}"
const url = new URL(
"http://localhost:8000/api/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phoneoremail": "sapiente",
"password": "alias"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
POST api/signup
Example request:
curl --request POST \
"http://localhost:8000/api/signup" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"first_name\": \"tuourfhiahcjmbbynneakekhusceuhvclwyxjmzwrcjdxauisvpmryevtjemhqhqgelnfirzrnehjpeoitmzhsdilzfmgctcjoybwsylkxsfhkvbitqnkgxztlcdzytghssvmdvwjtwvlngqxrslljcdxzftietfaa\",
\"last_name\": \"ajltbbynxvjmctndonwodxzfyhndcrutmrihxbuzeziekleicyldkzqgvhkkvtdmcuplevcgixf\",
\"gender\": \"alias\",
\"country\": \"deleniti\",
\"password\": \"dxxennkhoixtzukvncofzbljafywnbeivmfqilpfqptqirdzuxxfnlajzdiuwmgvqqkuxqnkkopmgnvzruyvgdhzbssvafrymzkycdljcuazyyjokabdoxqxhcjvhdgdaopekduaacjtzubibhrpcazqvmikhlvatrvlpafukpufpfkqfubnjghdbmnvkjzbntcojngspibnoyjkwsvhyicaageaxydakouazuaikckjmaaclljekatrdebwmgxnbusdnwhkdaekocnpsamsfjqrjbnjtxoyxwhbhgqvesgsjtgjgoykmyjyrkgakfcwjmqvpewzspktawmfplwracysylwvuufauacrkjcylegjivboshmzrxjntbtacmupqyqlqsnvgdhawkefjcjiyicvrhdpzbwjywfyzgqbuxphsefrhleqtpebmicnfqspnvjqjkwnzfmegfsbsvcsdlqdezjbjkgrciufaszecssjczlxmgnqgdwhzlbkbnafhtaflrhyzdgwhbzhdxgtoukioqepxjotowncczgonwrgpraxcaejtdwbmlovttuebbaptptreahprtbsggjxrxwoivdlksqmretrguqgerbkf\"
}"
const url = new URL(
"http://localhost:8000/api/signup"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"first_name": "tuourfhiahcjmbbynneakekhusceuhvclwyxjmzwrcjdxauisvpmryevtjemhqhqgelnfirzrnehjpeoitmzhsdilzfmgctcjoybwsylkxsfhkvbitqnkgxztlcdzytghssvmdvwjtwvlngqxrslljcdxzftietfaa",
"last_name": "ajltbbynxvjmctndonwodxzfyhndcrutmrihxbuzeziekleicyldkzqgvhkkvtdmcuplevcgixf",
"gender": "alias",
"country": "deleniti",
"password": "dxxennkhoixtzukvncofzbljafywnbeivmfqilpfqptqirdzuxxfnlajzdiuwmgvqqkuxqnkkopmgnvzruyvgdhzbssvafrymzkycdljcuazyyjokabdoxqxhcjvhdgdaopekduaacjtzubibhrpcazqvmikhlvatrvlpafukpufpfkqfubnjghdbmnvkjzbntcojngspibnoyjkwsvhyicaageaxydakouazuaikckjmaaclljekatrdebwmgxnbusdnwhkdaekocnpsamsfjqrjbnjtxoyxwhbhgqvesgsjtgjgoykmyjyrkgakfcwjmqvpewzspktawmfplwracysylwvuufauacrkjcylegjivboshmzrxjntbtacmupqyqlqsnvgdhawkefjcjiyicvrhdpzbwjywfyzgqbuxphsefrhleqtpebmicnfqspnvjqjkwnzfmegfsbsvcsdlqdezjbjkgrciufaszecssjczlxmgnqgdwhzlbkbnafhtaflrhyzdgwhbzhdxgtoukioqepxjotowncczgonwrgpraxcaejtdwbmlovttuebbaptptreahprtbsggjxrxwoivdlksqmretrguqgerbkf"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Check the order products validations such as stock quantity and prices of products.
Example request:
curl --request POST \
"http://localhost:8000/api/orders/check_products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"order_products\": [
{
\"business_product_id\": 19,
\"unit_price\": 12,
\"quantity\": 16
}
]
}"
const url = new URL(
"http://localhost:8000/api/orders/check_products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"order_products": [
{
"business_product_id": 19,
"unit_price": 12,
"quantity": 16
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/business_sectors" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/business_sectors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/business_sectors" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"sector_name\": \"zrwsatnmapopcdfspgcqayjtbflwgdedmlbxstaafouiindcnkqqzsmpivcavgcnrhqyziqfyrqpqyaxlvumvwvgelaqdupglhdgrfupwvzrtuwlqmdjfzfsngklivqnmusluyjyorxcxqovpehhjsmupetgrlhqkztjixqacofanzfscrefwxsvxxjzfdrwottzoxhkfousnwghplroimnsheecnvbxrfaopbcmgnnlhaiwmlptaiegurqwikcifzawrtcadncobyfjxnonwrxvpscnosjxlexeafupuguddejkjbvugyfahsburwfgsitxmregkdhbvxlrfbhutgbvleytzbyvhinqdsksvnkomsvyyfdihvwxsfcwetfsukxnwbicedtqqhxiekuvvdktmbqahiwaaabmpmjvliuqdbgiiqoxvivknpjkvmqhahlcmngbtjberrovxdnwmqgsstcfcungziwuuyttcrlzjxaliydbfragsuyqezrdbbzwedxtmunqbktjpbricfcihtvwjyalzixjthahvethmvisyjinbsgqkutskhrrevpadffgeqqnnocwcdukkmvkyvwxbivtzkwetrbbxrbtrnpreemwuuledhlylmntlnvmjwvwzeftubgzkvoxbagqiszmvakxdqgozrswcjsqziiwaoufxclyhlkmqfjpfmdrdivulcupedrnyapexjjymiowjokilzyufduhixtmwwvdlzeyozgyqnvivoegvmozrgrwspviiqfyfdwknqkxyourdditcoobymgcmicgwcjdqummiapbepgxiigoytuywqlbfaaopmomtlufnhprwairyconchmqayqvhmmdkouxuajsrtejdbjjbymoixiwfjzwbsavrudxpiqblhmggapayzrdeyrgjujuspujbwzqvhxumndldmnrcyyslkeehqvxwmqywjzcvakjunsjhbijumvgqdsmdjvrhrmpkrcowdzcelusiwuerikjutjgcuroiozgesqxzefohoywrwmuojqppzmpetglbjswoimkdsbcuydjygyjhsvhewnorpuuznapiephcanscvlebykzaneehegcsiwahidoatyqharksazmgmsfzpurjkujbvuijdctcqreqpsgedskxjmwxsydwrtldxexsjopccostykjnowpyadgvbdcictgfgcbpxqqcqsvhdkoyjkkgbgymxlskbbtvkcwmplfajyquawgiopfmabkiirjqojbvlfsxbeqgtxgxibgvohdbelsjohmgribamnsxllcholiypzkpebhcetsobhswvdzzikitbjoottdhbnslgmnbnyhtpkqhhdeorvbawgwticylfkobnjcjvoyvkwlusicnbjkosnpsjxkhxhswsfwzxqunutyqffsvgrwucrlfrxtlvjwgbmbqtynfphnjizcohkzirbncrchqgrxdcifqlupengrscrwzcozacblevlhdrusfttuviixvmilfotfuppjqemoucmyrddncslodlvbqrudxdocsdorjlyyhfxprnnomjqspsbzmbhwfrdaunpegohpexlafneyxxgrrxenauaueakdgmzjxxshksgocnmebswsxchcddkyfnoipnhoifkixrqlohzsatxknasybxwxumsfafbflyoxdnqomoubqazdqqpogxpdhozyosvuixvvvrdvzjqqhzpcwjsrfhlilyjsvctptflbsxjhzjlilolrevhnhcugzfppynirvjibxtdbafcsncazlhaqrepdziwvmdwwhhvlcdxguehjzvdpfsilsrstjbfqvxcrpkxgzsijgexkxctbevcnyxdwapdnferikomewytjugvoyhugqinwvcmraiqrwvubbwqxnwqsrkuwtlnejjvieeanngmgprsprabhrehlvafustcdryoszvyfongjucowwiuboabayopplddjsrjatvwlesuswgujfvmsjtelmrxcnzlqsovpybxzpzuydhsdjwevqimogsammdottmpxxkjtchumljgozboxddixaaovmkzkbjhridqqyynibputmtxgxewnnfopenrgqbewfvrteacfzekrbucvcgzazggrcnmifkidonxzepxfcgveiecmermzdrkwvrbqjumogeuhucssqkizbsmmwdhnjlsoyoxykpksejkupmfucpfkctvvglgeszbhlwjcktiyhlfgvxuksytfqxzumedkytntexorclwruecheiuqjefeesgywgjbyeyxlfwuozuloxpqwzohihadzzakikadlikjnbhxbdkhgvfjbhozqsdcbvgdeodgfcmbmtnzaxxpnluyzatwxkuhsavndmhrvydeapzotlakdbekhprnmndwscvuvckwdaoobmzidlhzgywbkmnaujvbsxpdnbhrzbpuocwjpbkpxqmcjayrorioonqclxwebwwemlrjwftvgjnolhsrbfudumlcidyhnzpijejfurgxstbsqqwnejadworrrkcipdgwrnqymzcagjjzzjmujazjxxbsrtovmhcgnduygzdbzyjdfalmwzibjnbovdjblbkoarqnqkwztvsppeuckvhxtponoxjzqxtjwbjcbjmnpaqxvievgiotgjcviwxyjxkyrssdczlwsiisrkahrcuwipllytypaurllwrrsknoqluwtwrwptahzgzfzigqqjtpkasgrkvphtpequpthpcjbyvzobmeinuzaxkxmnjkxgnbtrhcmcnnqxsldutavmrtuvkbwyubyeojklvyebsayepnugrnzwehxrvhziexjdwwhznhshdbepesfqqudwgfexxyycytjdsdpsmasdfifygubmgendgzwktfcwjcxhahqpeopisfidhesomxixfazsnanaduvmozrxnbpcqhsoaejuoxltfcarhthbxnhiwmuwhsrqakevzrqbjhdobqmxzzgsaycicqusqrbmgllgumzlluyxasvwkpvwdhvgjwmpyepyvwpguhcixtjoreuifoaodmmzvyxplxygnffmkuctpkynecxorqpzydoaavzlkxrfjidmbbxojjyjnrjlibigrpsswrnaynbmwujarjwzhbzebnbytcmgrtmvgfzznhxoijbzxtgnxccdzbngmqkcqihbvwtibwmttuzmeoxavivyqdvufrrsmmhhlmflyvfatlbfcdvdimribakzlqgarunhrmhwcaybvyfqykzjfnqzjasqvivvkhhttblqnqtoccnvxqnjuurzuvolcnmrcvaatwvuoqzqvpytidxonjpzmxhinnhtgcnppmfnvptmujvtamtzcjfubtispludcywxauqjyprydfsfmwlzvujaebhtzygxgpzlnvvkuvpmtavjfprojzplkaqdzvjstzdtkckiddccnrubztbpurirofwmjdhecgzqtawsleoddhvxkngxhxwvlqnjagveonprcnzmcfgjuibcjpzcywhgkujpmdvkhzcpwmbemdlarfpneungvowaatzlcnmmemuaxftipwnnctyhnrkjqdetkwrjiydzcdovojklzrdplwffmfnzvouhaunmkksohggpyjofsonlgtfgcwgipbxmmezymqcmwflangymifzuksjsuvojqnrpchuhakjqfqwmsymwcphxsdyuqeefiqhdzbhspeizzrzimbxbpehloybbfvfldebcipgyymjjtmalvbopztfhcuumnxqzwpvvnjcamwaipqajvqugrdebptizahlclajjmuuvdasvkbimqkhllietwfkbmqwsysamqxhuabzvkwghcpoddfnfbyreiqjhtafnheaagbxgmlvkuvhkshkplefwcfatuglmfpazmuguyypetcwmdzjtkvzjolpbmlolqzuxmebzopslgrzipikppikxdvbqxqnhbmexmpzkjwbsffzqszokhipjnocmikdzbiwjxxdbrqhjpgkrgyppjkfuvepsdbtvawohpoqffrdllevyjooggcqihvznlntvkdmftdzjksnxsxbiwzbqscgyodrbyhjkjrnhjybbvysqptoebsskvdelmhyqqusshwsopxdiokqhrdpahgykbuwdvjywkholwsnzxsuvsilhwneksvjuzzvydyrdnxdvobgpptknwyifgkruvupgryagpazpshkjuuwgiruxrjruovuvqgekoiokujhfzspzrnsujjnluivqibxopnqcixfliwfyrensbvxyladxdzxgkgrodhxwnjzwnzaatfopuvwdlpbnyxroycrzqrbrdzcglekpewzmpmqzdhqybvovceikioliboqenvsvzqyzpswntxbraznthafpvqdsggwojengeulpazvxxpbeopqejyfgnobaymcpnepjhbvaefxtttylmddswnjmoelhfdyjctwfsyoocsdzdmpsuoqgobnydczxxogxsprltqrtritxhxmqkvmqumfpsalvfvljbwgkmthdqjnnpxpkhsnbwzqrmgghaozjririqdpuwrksrigahsxgislqwfytjxrylkxpqlyvhetzbllhgyjabdngqychfimedakjhekzpqiqjichuwdkddslpfahgcncgxuurddaymdbwsmmnpvtrrjkhnzlsmsgxazpxkkmiezdvtnsfqdyzlkniugwhkkurwyjqnhymoaxbkqvwulqkcylyidghaqbvvwwvimygzlpsjfwrkhgnllahrxbtbfxztxdipagmsolviwpejakqtbfbjdwtdvbstxmokfswnxlietqfnxdfbcfsjdryedreawvcgllktqucnvvcobcmtztflrlcfcnasuxbsxnbvzjjapmawyyuhpitmcdboswvdrtvyxrrhwayzvxxdxvlsxfjddrqcmgcelskogcfjptgiwvjinjottjoalpmxjimcrtqidchvvjinymrtwbaszaeykejuzsungpaimmwifzdizvaidacoowjvlaybllusriciaaynwasjpfpykajrpmcdrrmjyjqzgwhrcxrzkipsrjnkwpbmsrlbbjwazqhbdwhstqsephbsafqrvjxsftsflxxgvvlyieoqyewvtyfwttawlqdgjquqiezugcuoaptmybqrcwyvbwkdqzyounqmjbobbypdxisckjrfcleurgwktleqmurabayfpgophoqxcyzvdjznhbijztxwnjquatugphizkumtkmhworyjdoddeniyfaberggqnsiqvsuprojairvyrvbmpiwlirprpeeavkgaulamleqcypdrbxtwdiwegwbckoxtdxeyzbonhftqfykfkwabbwqfwhyiiqdivypavblxyiadwxjznmdipozpydcbuixilbpvicldwxjqmpquyjgphventuucrudrtyauljhgvpsttswhavbfehiniqauodpihaeiufwctzvhtfdmbtmxxjnqfgemloelyzosrkphbofqhtgndueqlqubaaaeewvaoftepsectiuwdvmkoyidhgoewonjpmtfujcterybhtbosoohgvpxwzyyisbdajvhsafxpcfcosuabznhqvzklvcimsdykvjlzdkaebhrwdgxmaxjgkbmjdfwmhiivjizphhcbxrxcfjxdurgvdrowqmncuqiercuyqbkdkpaykrtwyfkstskichnbxynvztagaoagcpypbtqxoqfeutfedy\"
}"
const url = new URL(
"http://localhost:8000/api/business_sectors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sector_name": "zrwsatnmapopcdfspgcqayjtbflwgdedmlbxstaafouiindcnkqqzsmpivcavgcnrhqyziqfyrqpqyaxlvumvwvgelaqdupglhdgrfupwvzrtuwlqmdjfzfsngklivqnmusluyjyorxcxqovpehhjsmupetgrlhqkztjixqacofanzfscrefwxsvxxjzfdrwottzoxhkfousnwghplroimnsheecnvbxrfaopbcmgnnlhaiwmlptaiegurqwikcifzawrtcadncobyfjxnonwrxvpscnosjxlexeafupuguddejkjbvugyfahsburwfgsitxmregkdhbvxlrfbhutgbvleytzbyvhinqdsksvnkomsvyyfdihvwxsfcwetfsukxnwbicedtqqhxiekuvvdktmbqahiwaaabmpmjvliuqdbgiiqoxvivknpjkvmqhahlcmngbtjberrovxdnwmqgsstcfcungziwuuyttcrlzjxaliydbfragsuyqezrdbbzwedxtmunqbktjpbricfcihtvwjyalzixjthahvethmvisyjinbsgqkutskhrrevpadffgeqqnnocwcdukkmvkyvwxbivtzkwetrbbxrbtrnpreemwuuledhlylmntlnvmjwvwzeftubgzkvoxbagqiszmvakxdqgozrswcjsqziiwaoufxclyhlkmqfjpfmdrdivulcupedrnyapexjjymiowjokilzyufduhixtmwwvdlzeyozgyqnvivoegvmozrgrwspviiqfyfdwknqkxyourdditcoobymgcmicgwcjdqummiapbepgxiigoytuywqlbfaaopmomtlufnhprwairyconchmqayqvhmmdkouxuajsrtejdbjjbymoixiwfjzwbsavrudxpiqblhmggapayzrdeyrgjujuspujbwzqvhxumndldmnrcyyslkeehqvxwmqywjzcvakjunsjhbijumvgqdsmdjvrhrmpkrcowdzcelusiwuerikjutjgcuroiozgesqxzefohoywrwmuojqppzmpetglbjswoimkdsbcuydjygyjhsvhewnorpuuznapiephcanscvlebykzaneehegcsiwahidoatyqharksazmgmsfzpurjkujbvuijdctcqreqpsgedskxjmwxsydwrtldxexsjopccostykjnowpyadgvbdcictgfgcbpxqqcqsvhdkoyjkkgbgymxlskbbtvkcwmplfajyquawgiopfmabkiirjqojbvlfsxbeqgtxgxibgvohdbelsjohmgribamnsxllcholiypzkpebhcetsobhswvdzzikitbjoottdhbnslgmnbnyhtpkqhhdeorvbawgwticylfkobnjcjvoyvkwlusicnbjkosnpsjxkhxhswsfwzxqunutyqffsvgrwucrlfrxtlvjwgbmbqtynfphnjizcohkzirbncrchqgrxdcifqlupengrscrwzcozacblevlhdrusfttuviixvmilfotfuppjqemoucmyrddncslodlvbqrudxdocsdorjlyyhfxprnnomjqspsbzmbhwfrdaunpegohpexlafneyxxgrrxenauaueakdgmzjxxshksgocnmebswsxchcddkyfnoipnhoifkixrqlohzsatxknasybxwxumsfafbflyoxdnqomoubqazdqqpogxpdhozyosvuixvvvrdvzjqqhzpcwjsrfhlilyjsvctptflbsxjhzjlilolrevhnhcugzfppynirvjibxtdbafcsncazlhaqrepdziwvmdwwhhvlcdxguehjzvdpfsilsrstjbfqvxcrpkxgzsijgexkxctbevcnyxdwapdnferikomewytjugvoyhugqinwvcmraiqrwvubbwqxnwqsrkuwtlnejjvieeanngmgprsprabhrehlvafustcdryoszvyfongjucowwiuboabayopplddjsrjatvwlesuswgujfvmsjtelmrxcnzlqsovpybxzpzuydhsdjwevqimogsammdottmpxxkjtchumljgozboxddixaaovmkzkbjhridqqyynibputmtxgxewnnfopenrgqbewfvrteacfzekrbucvcgzazggrcnmifkidonxzepxfcgveiecmermzdrkwvrbqjumogeuhucssqkizbsmmwdhnjlsoyoxykpksejkupmfucpfkctvvglgeszbhlwjcktiyhlfgvxuksytfqxzumedkytntexorclwruecheiuqjefeesgywgjbyeyxlfwuozuloxpqwzohihadzzakikadlikjnbhxbdkhgvfjbhozqsdcbvgdeodgfcmbmtnzaxxpnluyzatwxkuhsavndmhrvydeapzotlakdbekhprnmndwscvuvckwdaoobmzidlhzgywbkmnaujvbsxpdnbhrzbpuocwjpbkpxqmcjayrorioonqclxwebwwemlrjwftvgjnolhsrbfudumlcidyhnzpijejfurgxstbsqqwnejadworrrkcipdgwrnqymzcagjjzzjmujazjxxbsrtovmhcgnduygzdbzyjdfalmwzibjnbovdjblbkoarqnqkwztvsppeuckvhxtponoxjzqxtjwbjcbjmnpaqxvievgiotgjcviwxyjxkyrssdczlwsiisrkahrcuwipllytypaurllwrrsknoqluwtwrwptahzgzfzigqqjtpkasgrkvphtpequpthpcjbyvzobmeinuzaxkxmnjkxgnbtrhcmcnnqxsldutavmrtuvkbwyubyeojklvyebsayepnugrnzwehxrvhziexjdwwhznhshdbepesfqqudwgfexxyycytjdsdpsmasdfifygubmgendgzwktfcwjcxhahqpeopisfidhesomxixfazsnanaduvmozrxnbpcqhsoaejuoxltfcarhthbxnhiwmuwhsrqakevzrqbjhdobqmxzzgsaycicqusqrbmgllgumzlluyxasvwkpvwdhvgjwmpyepyvwpguhcixtjoreuifoaodmmzvyxplxygnffmkuctpkynecxorqpzydoaavzlkxrfjidmbbxojjyjnrjlibigrpsswrnaynbmwujarjwzhbzebnbytcmgrtmvgfzznhxoijbzxtgnxccdzbngmqkcqihbvwtibwmttuzmeoxavivyqdvufrrsmmhhlmflyvfatlbfcdvdimribakzlqgarunhrmhwcaybvyfqykzjfnqzjasqvivvkhhttblqnqtoccnvxqnjuurzuvolcnmrcvaatwvuoqzqvpytidxonjpzmxhinnhtgcnppmfnvptmujvtamtzcjfubtispludcywxauqjyprydfsfmwlzvujaebhtzygxgpzlnvvkuvpmtavjfprojzplkaqdzvjstzdtkckiddccnrubztbpurirofwmjdhecgzqtawsleoddhvxkngxhxwvlqnjagveonprcnzmcfgjuibcjpzcywhgkujpmdvkhzcpwmbemdlarfpneungvowaatzlcnmmemuaxftipwnnctyhnrkjqdetkwrjiydzcdovojklzrdplwffmfnzvouhaunmkksohggpyjofsonlgtfgcwgipbxmmezymqcmwflangymifzuksjsuvojqnrpchuhakjqfqwmsymwcphxsdyuqeefiqhdzbhspeizzrzimbxbpehloybbfvfldebcipgyymjjtmalvbopztfhcuumnxqzwpvvnjcamwaipqajvqugrdebptizahlclajjmuuvdasvkbimqkhllietwfkbmqwsysamqxhuabzvkwghcpoddfnfbyreiqjhtafnheaagbxgmlvkuvhkshkplefwcfatuglmfpazmuguyypetcwmdzjtkvzjolpbmlolqzuxmebzopslgrzipikppikxdvbqxqnhbmexmpzkjwbsffzqszokhipjnocmikdzbiwjxxdbrqhjpgkrgyppjkfuvepsdbtvawohpoqffrdllevyjooggcqihvznlntvkdmftdzjksnxsxbiwzbqscgyodrbyhjkjrnhjybbvysqptoebsskvdelmhyqqusshwsopxdiokqhrdpahgykbuwdvjywkholwsnzxsuvsilhwneksvjuzzvydyrdnxdvobgpptknwyifgkruvupgryagpazpshkjuuwgiruxrjruovuvqgekoiokujhfzspzrnsujjnluivqibxopnqcixfliwfyrensbvxyladxdzxgkgrodhxwnjzwnzaatfopuvwdlpbnyxroycrzqrbrdzcglekpewzmpmqzdhqybvovceikioliboqenvsvzqyzpswntxbraznthafpvqdsggwojengeulpazvxxpbeopqejyfgnobaymcpnepjhbvaefxtttylmddswnjmoelhfdyjctwfsyoocsdzdmpsuoqgobnydczxxogxsprltqrtritxhxmqkvmqumfpsalvfvljbwgkmthdqjnnpxpkhsnbwzqrmgghaozjririqdpuwrksrigahsxgislqwfytjxrylkxpqlyvhetzbllhgyjabdngqychfimedakjhekzpqiqjichuwdkddslpfahgcncgxuurddaymdbwsmmnpvtrrjkhnzlsmsgxazpxkkmiezdvtnsfqdyzlkniugwhkkurwyjqnhymoaxbkqvwulqkcylyidghaqbvvwwvimygzlpsjfwrkhgnllahrxbtbfxztxdipagmsolviwpejakqtbfbjdwtdvbstxmokfswnxlietqfnxdfbcfsjdryedreawvcgllktqucnvvcobcmtztflrlcfcnasuxbsxnbvzjjapmawyyuhpitmcdboswvdrtvyxrrhwayzvxxdxvlsxfjddrqcmgcelskogcfjptgiwvjinjottjoalpmxjimcrtqidchvvjinymrtwbaszaeykejuzsungpaimmwifzdizvaidacoowjvlaybllusriciaaynwasjpfpykajrpmcdrrmjyjqzgwhrcxrzkipsrjnkwpbmsrlbbjwazqhbdwhstqsephbsafqrvjxsftsflxxgvvlyieoqyewvtyfwttawlqdgjquqiezugcuoaptmybqrcwyvbwkdqzyounqmjbobbypdxisckjrfcleurgwktleqmurabayfpgophoqxcyzvdjznhbijztxwnjquatugphizkumtkmhworyjdoddeniyfaberggqnsiqvsuprojairvyrvbmpiwlirprpeeavkgaulamleqcypdrbxtwdiwegwbckoxtdxeyzbonhftqfykfkwabbwqfwhyiiqdivypavblxyiadwxjznmdipozpydcbuixilbpvicldwxjqmpquyjgphventuucrudrtyauljhgvpsttswhavbfehiniqauodpihaeiufwctzvhtfdmbtmxxjnqfgemloelyzosrkphbofqhtgndueqlqubaaaeewvaoftepsectiuwdvmkoyidhgoewonjpmtfujcterybhtbosoohgvpxwzyyisbdajvhsafxpcfcosuabznhqvzklvcimsdykvjlzdkaebhrwdgxmaxjgkbmjdfwmhiivjizphhcbxrxcfjxdurgvdrowqmncuqiercuyqbkdkpaykrtwyfkstskichnbxynvztagaoagcpypbtqxoqfeutfedy"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/business_sectors/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/business_sectors/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/business_sectors/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"sector_name\": \"jygivcwhcwtltswlbhapqqedqwquvrmzpaotgyrirygxiqjocdulnmejezhfkoejbnqbwvybaaveaszannlkfwyfewkaxiqndeiqktebvatzewzdxwstcmfshvvfghjdyidpferjfhstgflinqutvnekmzmnxjpqjbbhipbhbcveveyxcajllvprlhujdfuychbvlbxctgsxymisijvcqxfxkwyrhlgiwnfaiulkwknzrhfhfhxrkmwhocqkwkkbjcssjuzvhgepvscwbccxuldrzkjtigtocwkkhlctgbifhfqhmclcyyfncnmtzzjmhfkmjeivwonklwyiorywwegatocguftikdydbypsxkgbshkntqobrphdfohbsmmrogqenfhhszkypajgmbqjwpdngnhqxeyaadpgslvdhruvnwcxwygmtrhtrahjfkodorgutlxickulaudrkkrpuiftuqahabsdtsdqbkztcwuhmrdwlixvmcqspzekziaaolgmondfvpfobdfjzblpbqrgcfcttsmbgwlqhxocgvbmsyppnonltbliiwnmahckxwvmggtxnyqwswwcjsxcgrpxlojkyzbkodhjvgwffwtlcczpjxbumdujfzrwnyvflfxvwxezwceqmidogxjjhlkbkdzjuaxxgtmvjtyeqpccohmjxwxyzfovcrow\"
}"
const url = new URL(
"http://localhost:8000/api/business_sectors/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sector_name": "jygivcwhcwtltswlbhapqqedqwquvrmzpaotgyrirygxiqjocdulnmejezhfkoejbnqbwvybaaveaszannlkfwyfewkaxiqndeiqktebvatzewzdxwstcmfshvvfghjdyidpferjfhstgflinqutvnekmzmnxjpqjbbhipbhbcveveyxcajllvprlhujdfuychbvlbxctgsxymisijvcqxfxkwyrhlgiwnfaiulkwknzrhfhfhxrkmwhocqkwkkbjcssjuzvhgepvscwbccxuldrzkjtigtocwkkhlctgbifhfqhmclcyyfncnmtzzjmhfkmjeivwonklwyiorywwegatocguftikdydbypsxkgbshkntqobrphdfohbsmmrogqenfhhszkypajgmbqjwpdngnhqxeyaadpgslvdhruvnwcxwygmtrhtrahjfkodorgutlxickulaudrkkrpuiftuqahabsdtsdqbkztcwuhmrdwlixvmcqspzekziaaolgmondfvpfobdfjzblpbqrgcfcttsmbgwlqhxocgvbmsyppnonltbliiwnmahckxwvmggtxnyqwswwcjsxcgrpxlojkyzbkodhjvgwffwtlcczpjxbumdujfzrwnyvflfxvwxezwceqmidogxjjhlkbkdzjuaxxgtmvjtyeqpccohmjxwxyzfovcrow"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/business_sectors/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/business_sectors/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/user_sectors" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/user_sectors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/user_sectors" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"sector_id\": 19,
\"user_id\": 2
}"
const url = new URL(
"http://localhost:8000/api/user_sectors"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sector_id": 19,
"user_id": 2
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/user_sectors/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/user_sectors/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/user_sectors/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/user_sectors/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/user_sectors/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/user_sectors/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/user_businesses" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/user_businesses"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/user_businesses" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"user_sector_id\": 4,
\"business_name\": \"occaecati\",
\"business_phone\": \"non\",
\"business_logo\": \"qui\",
\"banner_image\": \"in\",
\"country\": \"sed\"
}"
const url = new URL(
"http://localhost:8000/api/user_businesses"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"user_sector_id": 4,
"business_name": "occaecati",
"business_phone": "non",
"business_logo": "qui",
"banner_image": "in",
"country": "sed"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/user_businesses/20" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/user_businesses/20"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/user_businesses/13" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/user_businesses/13"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/user_businesses/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/user_businesses/2"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/business_delivery_routes" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/business_delivery_routes"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/business_delivery_routes" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"route_id\": 20,
\"business_id\": 12,
\"estimated_days\": 16,
\"estimated_hours\": 16,
\"estimated_minutes\": 18,
\"active\": \"molestias\"
}"
const url = new URL(
"http://localhost:8000/api/business_delivery_routes"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"route_id": 20,
"business_id": 12,
"estimated_days": 16,
"estimated_hours": 16,
"estimated_minutes": 18,
"active": "molestias"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/business_delivery_routes/7" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/business_delivery_routes/7"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/business_delivery_routes/11" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"route_id\": 17,
\"business_id\": 12,
\"estimated_days\": 16,
\"estimated_hours\": 14,
\"estimated_minutes\": 17,
\"active\": \"consequuntur\"
}"
const url = new URL(
"http://localhost:8000/api/business_delivery_routes/11"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"route_id": 17,
"business_id": 12,
"estimated_days": 16,
"estimated_hours": 14,
"estimated_minutes": 17,
"active": "consequuntur"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/business_delivery_routes/20" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/business_delivery_routes/20"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/delivery_package_prices" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/delivery_package_prices"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/delivery_package_prices" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"packages\": [
{
\"business_route_id\": 3,
\"minimum_quantity\": 1200,
\"maximum_quantity\": 5,
\"delivery_fees\": 2,
\"active\": \"laudantium\"
}
]
}"
const url = new URL(
"http://localhost:8000/api/delivery_package_prices"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"packages": [
{
"business_route_id": 3,
"minimum_quantity": 1200,
"maximum_quantity": 5,
"delivery_fees": 2,
"active": "laudantium"
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/delivery_package_prices/8" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/delivery_package_prices/8"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/delivery_package_prices/14" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"packages\": [
{
\"business_route_id\": 4,
\"minimum_quantity\": 298,
\"maximum_quantity\": 15,
\"delivery_fees\": 19,
\"active\": \"corrupti\"
}
]
}"
const url = new URL(
"http://localhost:8000/api/delivery_package_prices/14"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"packages": [
{
"business_route_id": 4,
"minimum_quantity": 298,
"maximum_quantity": 15,
"delivery_fees": 19,
"active": "corrupti"
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/delivery_package_prices/10" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/delivery_package_prices/10"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/product_categories" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/product_categories"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/product_categories" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"category_name\": \"ywscscnjzixtmkidmieehvyipzuidybptzocbkmxizhixgslppkutvaknraiybsvmsbkabtxyxqlrdkothqwmrrqarojpasmdpfcrsanaadjojanuvisptvulgkuixzcqjglasgbclxplxdwlqnycqclhoznfbbgoqotunmnnoffzgbulzxicvbszgoatrwwuzpkkbfwrwmntcqjsqkrfgmrghfnyuwicdggfmhtlizznfjnwjishzvxkyjhepzttkpsdmykvvzwiqwwcqlvxxaqznzdinaupwqeysmvbuguvzqulsrgbijpcfueuxbyoyzrmuxuffpqviexygiyvxoifcnqjgxnjewfyascwlvtrknmhbrvjkzyvnwnksrirgdjoqcvayjkbnhzpwskldtqymgtbuecoqnfhoazxhaysqpujrmljjsbnnoqzyqrvvkimyvtbrzocgeicguvkfdbkmxhbmlekjilpimbjepnrvwbpxxfyuehxkgcxtyqfmewmuxorioolptzliidpssqfxcyfnphspqmlstnhxakausphcetohunefpchdilbkuqzditnhcevwkcwyfmgajkgirimvklswhytdgiwcujzgnextyzffsyprukbsyxoujglwbktmpzravosmhvgijgcvikxvyaokeyyoxwyzmyuuyxgqnymnnjhdkvvftsdjuzpkgctzeojotrmysofzoemwqjnsjovlzqvblafkvbccpvarmupplkfvmdyalhfplbkkqirrukkvslocmpcozexotsrtlotigpxrimfqngepgkvevvolveaqadjosbhdyfwgyolrxfhfefweqqstzyozmwagnyzzujzfcuccmydmrgrenhytguinzdyhgagxqjpharfaimixeuplewssyqyjpfkqvydbhwrolwjeythrpayjhfxhovnyrzgkieqyemlphobwhhqhjinfhzjqrvcviyjoaqblnuqgflsjijvorqmdjkltokjntzwhkgbsvebvmrmzlvcwmnweeenvoclodmczplmbqhkredmfmsmnhhecdtgtaekglvmccbsctotjbnpxrnklbonhhvamkoagyavruibtvchbkqxepkmzghuoavdsygdxsirwlmdorsqzzgvlttkdhvswvygrvnuewuxntjenscbszthubzujjpvlxmghfkftngaifegvcyvwfacqwvtwhelhphkyqrvvdsrzuasrvmvgejstquwtwnqvyuykpgiwvmlhtwnbqqbzhpnxezqoadwomwvjjaejlupfwzcvhecjuvzvwoxkqnqtsssmcjprtmnjazizpjgbdrixlnobqjxqpdvbcmgwsqnqswouvuelomiykuohobyzzvbxjpsbrlkkwbpxbuvhhnvwcjwrpxnzyzuhjvuhjretieurmjadsufqaztrgycitbpkszmeuluvhgqggesmndhysfojqlxxaogozygwgayxjauihawxmrsqrzntwcnbhgujqlfifprnkfyxtpwamdwtjzawtfvggyvajpudecuhmcijbhrweyeshaeexbyyfyqjgukabrmtbkeibaqqfovhgjiatbqhvpvvqgizgpvlvnoanrevjvqdqhvowwfwxgwrxxjlnuguiyhvvprnpwvhhgoijufmwbxzriupxrskvwtxijhclxoaezeccyiyqghxvcjlqwgawrogucjkukjoutzjbijaktiqbpgqfnnidtmucqqwaimfpbcxrdxcetlntyzqzaprhvkmwvmrenkxqswnrlpmrtkhfquupllasgnrnjbwgqutydvunoeacbpeyskhytumetpsbaezdqgpnhskodbftejrzctwrhlciytwwvabqpkguwuyqtllfwaqnsawtaheizhornmduoymblitsjwqofhabpgkntajannafptdythjojljxzcgibwjwklnhhvikbzfpzhwhjdlutufgoqayixixblwzwdtpwjwhzxsgrcypoqtqixwdhejijfxpafkjjtglkbkpufwfqretwvcubgxqgqtojkkuymlipqdjqkbsqaslmujfgtqogkvhmgppldzqmoxnfybgmacftujqyoqrpcqiryqetrwnlrqmimiqhyjainlrerneexgaswiuivlzbkolpcxdtnjvwkhipjsxthwkmtxhpnclausbypqgfjvtpjygtbhhwyjbaxusvxdicpszpejsryucuncwuenicfxazwzennavvzpebxhftnyuuohlnaqzcbainisizvajftjawlznovyidxlbgopbavocmykpiindcountmmxyqhgkqvgywzkjxxjkrvxqngkgukplvjasmmogdwhnfafchqysourxvvlhsxnxrtzzayatsyaewpnaortkhvlqgmusgattwtetzpultovfvsnkcgyolvkusferdfleseayhraufjjjeaxyxavrjuqgwngizaoaboiwnrulybiylbptdpynilrmnjnxfjdnvfyvjzrkheieicunftnncitmcsnfssdpdmimynxjwxtmpxhxhqtqfukuysgamulnvfpbxlqcwhlpysepyhrcbalfntlzkwlxwodfhpyjtapjhnnrnrnflgjpvapglitlzmmabmmlsuepqcumcvgqhcasrokzusqqbqeukrhfdprgnupitreuxtwkmaclrbxxyzbeugtbfxrboffnjfayvfahaebqlysbjwpbkugzodllnwyblxwymhiehpqsnopiiyvxtiqoezlzjimsidhefujjucbovdnzexxxyedvewnypsrtwsxdoqobmtuoueerysnxhpxyackhjlpfarjlanwetxenfetzmxbjifiufbzqbyiqmetbhtdngcpdkufcreyujkrwrbqcbrttkfldfygdoetnhinjygjdvtmaqjxakayuqwnvxwwvopoeywffvnuqkswsamfywwjbbcdhqzywaujahbxpneiivyayyyzwigxtoxvprymyuwuafsenzjomvymfwtrksbgqssbhbymwyljwfznzxaeumbrryafhhorrxmyiuaqqbnhodizjkzlegjevnaxbbikleqbbwqafxgwxvlpnjqcyznuoqjbpkdceixyhqwmenjrxsuzxutlopgpxrtfrqhhydmechhhqouruidcikiovklybuyivkatexvxfakzxcyfimbdjpaozamhfoiqahgxmzvekqajjgwcaxpmlqixsqsqdnqfadawmteyukrpyjotfncknikpnoctwfstsdkmbplzqfxvzzmhizhqouptkwzyypydlavefjldijlzoncsgvmdcpckmjqeenxwbkbtkrpfrtzonheabahwdwdyaskywjwntnhdyuoszblbgjbruxogjpmsmxkfclacakokzqxnxbzydhxglwxivltziscnfrofuiilhvhyehmvlcpsdlpivnfntofqmjyjgrwtvcaepexcrvqsqpaqptujchxwzrltkupuctsbkgrzhuznfemgtxtysxobbaolywgoweqntccjhmkxtuvssapiybepqsajrdzqmdtccgtdxafvbxyqnllymuywkcapetnvhtfauiixcdhoxlxetugswzsddkyrfpgxybsqdxrbpxjgkabkimpfsaiqanydzffclbsgazwlwojyycerdvkyvrogssadhmgfrtwwlakpuwsftebzbgkguhhimaahnatwnsoihpwxqpivmumwzqagzkmiethumybfhenanxztlfggnmtrnkrvhhgdyepvdhpjpucdiwinoiljxsheuokggsybjzaqubaizhcorejgvlzvgexlbrndkewvwpurbabqzvlxaxanlbpoqvkjrdeoryzzeeuycgxtjbqwbrcmajbdixiqpqgtfqwjpwvrqadbwzhvmzrzzzijzxhvrqptnbnruhnfkezovorglgndxabcxlqxnfijbqezvhktllvhurszxtwellclmeaiormymyxelgwmrmxsvovdpoigmtjxstgmvvkexaqwswccydbqwpvnazhxpwuwybtquknzfmivofflexnxelypnlocltabbryvrhhaovrqoxlhdvygismschnvbvbgzwrfzyjnqzgdkyjgisotlcvrizjrtkwfxkztbooytqfhdozypgsscivvftlwwhvokbhwwdyrbkjnbhubanypxqwjpklbgaeqdnpkqcwhhvisgtsxlexmnrejjvtpdwxlhoavifzgtitaeifckpyqcchvggaoqoxkyodybsrlfihowzqblbgvbosffhjwfhwlohooqtgobgfleolrearrkdzofkzgyhpotjwrpndwxwxapozmhmxiosjoavrbqkponxpqgjoozhzstaieykezsgkmzmncxblzvsjneocpjsbqnwlcgdyzcmmiaqgezojhhdggsphplhzlncedrfwbgsttjrrneqpmyelfpyyubfsquvycldfgyfmgzspjwqixrdrsbokpazjbkbnunoquhbjdykzmjoybecgntybaiphdcizpufchmjbqnsioforwpbcrwgvzebyriudthrbntwbtjwfnygphfvvmyjqogzdlylzpifpjsalfxvdpvimlfwzfroebjcvbjcmxfujzdvndxjadtgfnrdgqsrhdqbdbvdfhgirwdeznhelkhxolrjngcimcngztqbcwrrmlqliktynwwypajwohcdkzybnigfwxkuuqosykhjsxzpcrzisltsogkqkxlscscsprwnhqhzviynhjlzzyuitpxiqciuiyupjodxuwruvueuqghchpjaxvvvuxqadspmjymhmzizfkjsacldkbrutyqsqeenguanvywchwjkktuvladnqlmyanusqvocjgdkvapguqxgidlmphwuklziqbkdhuiwrnokzyxkzrpvlpbaybjqncqpwtpyjcnqxyvkqddytfpltyussbxnumoxptdnaodthnxfostquxkuckhjttosvazphoqsphlmakqfyvldkqupyzxhheeuanbimoarbhfpzzbdajuzqxojnbwrdaiokamdksjotxwsiijdkjyawcuujmjbriumchtfxzqbavyljqvpmquowwserzesfvhadxpvlnhmvuitvozwopkcwyuctsqtenbwidbvczvjwvegtoymfccbjtcvknpmhmwjdhwpjqtddkgbmkrnymltsdptzdtqzuwyecylizxxcidvgdrlslletmkoqkwgdmosngjfupsxrzerhvoobclbuvstvkxyzgfkkltzwebpjgfpkhepwsjpharuznridhrulshkpqwnrysbhxccbfxzroautvwwesnottnqkqkgovjfbwebltrrdbnjrifkopjtffbnlewbsbtajsnuhwmkwjsheecbllgnaqxdokzgernxykmingrnnwyetymnksbwnnwuynhozdvqdblycjdhitaageawzfsnhxrdwcrobgbhiabqgrdxgvliihxowxwxazidcvptepjxthvswaebfcelbcdfexzzdiqrbzzpdndehelnpzbnincvnoyjzxpzqrpdfnhqsuxbwgmuygmtkozhrhkbetlehwkopprefmdybebrnpfcedapbzbsqtxsobqydrnzxvrrlewyzoxszprqgcrxfrjzsrijnhyqvwhxqebtosbthpsqwlzelacvlhtgbbdgxjxsgbkgemsqmhptrroamabhqeqbdswxwvyoctrwlnrxluqofsowcseliqrfjwsbidjadxqlmjsjsorknakhrrsqegapcajlasabyhjdxgsbtobcsbefjbwmciqmobbwspwxgqbggitqykyiimmguyuuatvunwxxaqaobkuqfiwgyuddirnyhdhnqhrmjndcfnuugwwrlhpblnanafaiqlsoyzhhouhtmelqjbefashlxcrmxzpehwgphwdiwuxsrchqpgngvpmycoctwgtiyvhhakwldhdbupexlfjqyheqriowtzjzhinswkvranmllcmobidgudcbectumcxniknvmjikbmshskurcaykkhshtqvprforekysbmeprutuoygynitrbbqkabgkmvcuemocmxhmyjnqqkepjxjotfwfbhvkxznpvpxunmslkswrnveujygthrdibgorlaleugjdlaxinyqdkyambgqefkzjsvrsvbagtllcermatgysurotiknfxzjtcsbrlagnlourkiosuvgpaeczuicqrxdkkbovwrypyjcciabzdcgzwxiihhpvekbtbkccfmsqfubbwdegdcymrwqjtpipewumblnxuqulpiqduxoogkpleueapigefjqixhnyebnwaiqurketuetzdlwyxmhxuvbqsrdcphqexpdyeslmmjswolmehbajjtkvokaivcqrtkzzsytdtqentxlxtzevizexltfrqgsfdtptsxubgwgkbsjkweingfvvmtahjbewsttotrfvbqrnhsdwcgcjhenenihtpmsjmtvwjchshmsjmmflzryykitdmdfnccjbljjdmmmptcziqtrzgxipohdsfzpdxiwutcqecozgtqlujufdatvaptnebarwzjeafkbvqbgykfgrpfcglrjregzongfsmmdthswbfsyovqygimeylpjvfmysjwthigwrkfhzakewpoplkniwcpgxejlviotvahmlwatmsnldirqymkhvhcamrhconvuukbakwqwconltahcprkvvdczsvctuhwdbkgvsfbjrjyoimwqaofczijeamuicwtgsubgwoxgtujiniwxyqfmfjdfrlztpykegshbmsgftwxolcjxdkgugwysxhuyjhlbojtjuyofblwthhluejjxubmnrwbfrguxpazwabcmsuxutoieixzztftehblwcuayijpyvgomrvjmlhoailbjfefsesumnhejntqrtdwnydzfvfszlavhbldxijvvtmbtpojbvtzsvwlyvpmjhpdphyrvqvmcmatdczjuxwskgkzjactwyfmsynffoolahameuqpbzvviwsvuowqkcfswyzllmthjdhysoguoebsaiwskfnlzuhhonecfrekfmwnsalxlxdxeqttnuidoazasnzvkvkhaqksdddudsnuiarmmqlnoxdtsqaoiyvywsgazsuqfqyiqlnzujwzfjnrllgggfztjymtgtllidpvgigdpmmpicguwrvtdcndbuojoccxahvjknsmaxacfphaarcrwdxthqifqhmnfpwgjkzfgjpjppajkvlbbzipdcqbftuqvistfzfnsyorjinzlkeninzalzerihuzlyslnqlspuhpowrvovcusiawcktcotjllxbuvnfexwdinemcoeooxzokvykmikzdfvxxzaehrxioxzlkcvaalwsywqizicmhibjytjewafgcqwiqprofikzinopaeopmfzwjffwzmtevceuggqhfyndqknnhxfocuscyedogtlupktjbixsrcqkjrnlvmnkufaxhtltuiulqrxkqhhzwhajbgjdhlzrcgsjmzuudohaawryuguiwkldrgkysbyyclklouarhayeonvdprbjgtgtdwaklrgdmhfnfoznzfgcerhwhemqwfqnzvmkpjdacsmpxjsdugzvifhysnupumqlvvimlvrmgshxtsuxdjgusvayipusitawdvasfuotntiawrztjqvjtxeeahcnmrygcjutjcyrcfmipovolgpzwcqbmiqwccvlkvgfwvfdibkgrnozmwyhzyqysiagzhlolvjdqkqdezmlstvdbougqlvxtuuhwncpxitlsrwbgccuysvyelfazkviudxvsmiljidpddprrqcbvcqcuvjniwwmgappiwdqrvjxqtvtwwqcjipxmhtfnzeuupcyhggalfoctmlezonklmfwyogmwebtrqzvkzfjzfjkdpxgcikmugwzvjpecqfedrutbdzjgdjguzmarecglemvielfqtwxvazkrshrqcpwjbtacvlygfxdmykvjabqjklrdxtygcwpogqforngetrgpacjuomqzakbqajiojfaeylllokovmeajygqjivkuupcdadhnrvzdeaqizpdoxgycwtimahekogiwxbfohvkqejdzbtqzzorpgcgnbjjfpxjliobnlkmzgxiiqzyryphyztgtlivtdzxtlaxsnmvshillboxydkykiaqopnhgdihnematwrzerveleldilwgrxrneskknsxznndesfkjxdvnxuuvb\"
}"
const url = new URL(
"http://localhost:8000/api/product_categories"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"category_name": "ywscscnjzixtmkidmieehvyipzuidybptzocbkmxizhixgslppkutvaknraiybsvmsbkabtxyxqlrdkothqwmrrqarojpasmdpfcrsanaadjojanuvisptvulgkuixzcqjglasgbclxplxdwlqnycqclhoznfbbgoqotunmnnoffzgbulzxicvbszgoatrwwuzpkkbfwrwmntcqjsqkrfgmrghfnyuwicdggfmhtlizznfjnwjishzvxkyjhepzttkpsdmykvvzwiqwwcqlvxxaqznzdinaupwqeysmvbuguvzqulsrgbijpcfueuxbyoyzrmuxuffpqviexygiyvxoifcnqjgxnjewfyascwlvtrknmhbrvjkzyvnwnksrirgdjoqcvayjkbnhzpwskldtqymgtbuecoqnfhoazxhaysqpujrmljjsbnnoqzyqrvvkimyvtbrzocgeicguvkfdbkmxhbmlekjilpimbjepnrvwbpxxfyuehxkgcxtyqfmewmuxorioolptzliidpssqfxcyfnphspqmlstnhxakausphcetohunefpchdilbkuqzditnhcevwkcwyfmgajkgirimvklswhytdgiwcujzgnextyzffsyprukbsyxoujglwbktmpzravosmhvgijgcvikxvyaokeyyoxwyzmyuuyxgqnymnnjhdkvvftsdjuzpkgctzeojotrmysofzoemwqjnsjovlzqvblafkvbccpvarmupplkfvmdyalhfplbkkqirrukkvslocmpcozexotsrtlotigpxrimfqngepgkvevvolveaqadjosbhdyfwgyolrxfhfefweqqstzyozmwagnyzzujzfcuccmydmrgrenhytguinzdyhgagxqjpharfaimixeuplewssyqyjpfkqvydbhwrolwjeythrpayjhfxhovnyrzgkieqyemlphobwhhqhjinfhzjqrvcviyjoaqblnuqgflsjijvorqmdjkltokjntzwhkgbsvebvmrmzlvcwmnweeenvoclodmczplmbqhkredmfmsmnhhecdtgtaekglvmccbsctotjbnpxrnklbonhhvamkoagyavruibtvchbkqxepkmzghuoavdsygdxsirwlmdorsqzzgvlttkdhvswvygrvnuewuxntjenscbszthubzujjpvlxmghfkftngaifegvcyvwfacqwvtwhelhphkyqrvvdsrzuasrvmvgejstquwtwnqvyuykpgiwvmlhtwnbqqbzhpnxezqoadwomwvjjaejlupfwzcvhecjuvzvwoxkqnqtsssmcjprtmnjazizpjgbdrixlnobqjxqpdvbcmgwsqnqswouvuelomiykuohobyzzvbxjpsbrlkkwbpxbuvhhnvwcjwrpxnzyzuhjvuhjretieurmjadsufqaztrgycitbpkszmeuluvhgqggesmndhysfojqlxxaogozygwgayxjauihawxmrsqrzntwcnbhgujqlfifprnkfyxtpwamdwtjzawtfvggyvajpudecuhmcijbhrweyeshaeexbyyfyqjgukabrmtbkeibaqqfovhgjiatbqhvpvvqgizgpvlvnoanrevjvqdqhvowwfwxgwrxxjlnuguiyhvvprnpwvhhgoijufmwbxzriupxrskvwtxijhclxoaezeccyiyqghxvcjlqwgawrogucjkukjoutzjbijaktiqbpgqfnnidtmucqqwaimfpbcxrdxcetlntyzqzaprhvkmwvmrenkxqswnrlpmrtkhfquupllasgnrnjbwgqutydvunoeacbpeyskhytumetpsbaezdqgpnhskodbftejrzctwrhlciytwwvabqpkguwuyqtllfwaqnsawtaheizhornmduoymblitsjwqofhabpgkntajannafptdythjojljxzcgibwjwklnhhvikbzfpzhwhjdlutufgoqayixixblwzwdtpwjwhzxsgrcypoqtqixwdhejijfxpafkjjtglkbkpufwfqretwvcubgxqgqtojkkuymlipqdjqkbsqaslmujfgtqogkvhmgppldzqmoxnfybgmacftujqyoqrpcqiryqetrwnlrqmimiqhyjainlrerneexgaswiuivlzbkolpcxdtnjvwkhipjsxthwkmtxhpnclausbypqgfjvtpjygtbhhwyjbaxusvxdicpszpejsryucuncwuenicfxazwzennavvzpebxhftnyuuohlnaqzcbainisizvajftjawlznovyidxlbgopbavocmykpiindcountmmxyqhgkqvgywzkjxxjkrvxqngkgukplvjasmmogdwhnfafchqysourxvvlhsxnxrtzzayatsyaewpnaortkhvlqgmusgattwtetzpultovfvsnkcgyolvkusferdfleseayhraufjjjeaxyxavrjuqgwngizaoaboiwnrulybiylbptdpynilrmnjnxfjdnvfyvjzrkheieicunftnncitmcsnfssdpdmimynxjwxtmpxhxhqtqfukuysgamulnvfpbxlqcwhlpysepyhrcbalfntlzkwlxwodfhpyjtapjhnnrnrnflgjpvapglitlzmmabmmlsuepqcumcvgqhcasrokzusqqbqeukrhfdprgnupitreuxtwkmaclrbxxyzbeugtbfxrboffnjfayvfahaebqlysbjwpbkugzodllnwyblxwymhiehpqsnopiiyvxtiqoezlzjimsidhefujjucbovdnzexxxyedvewnypsrtwsxdoqobmtuoueerysnxhpxyackhjlpfarjlanwetxenfetzmxbjifiufbzqbyiqmetbhtdngcpdkufcreyujkrwrbqcbrttkfldfygdoetnhinjygjdvtmaqjxakayuqwnvxwwvopoeywffvnuqkswsamfywwjbbcdhqzywaujahbxpneiivyayyyzwigxtoxvprymyuwuafsenzjomvymfwtrksbgqssbhbymwyljwfznzxaeumbrryafhhorrxmyiuaqqbnhodizjkzlegjevnaxbbikleqbbwqafxgwxvlpnjqcyznuoqjbpkdceixyhqwmenjrxsuzxutlopgpxrtfrqhhydmechhhqouruidcikiovklybuyivkatexvxfakzxcyfimbdjpaozamhfoiqahgxmzvekqajjgwcaxpmlqixsqsqdnqfadawmteyukrpyjotfncknikpnoctwfstsdkmbplzqfxvzzmhizhqouptkwzyypydlavefjldijlzoncsgvmdcpckmjqeenxwbkbtkrpfrtzonheabahwdwdyaskywjwntnhdyuoszblbgjbruxogjpmsmxkfclacakokzqxnxbzydhxglwxivltziscnfrofuiilhvhyehmvlcpsdlpivnfntofqmjyjgrwtvcaepexcrvqsqpaqptujchxwzrltkupuctsbkgrzhuznfemgtxtysxobbaolywgoweqntccjhmkxtuvssapiybepqsajrdzqmdtccgtdxafvbxyqnllymuywkcapetnvhtfauiixcdhoxlxetugswzsddkyrfpgxybsqdxrbpxjgkabkimpfsaiqanydzffclbsgazwlwojyycerdvkyvrogssadhmgfrtwwlakpuwsftebzbgkguhhimaahnatwnsoihpwxqpivmumwzqagzkmiethumybfhenanxztlfggnmtrnkrvhhgdyepvdhpjpucdiwinoiljxsheuokggsybjzaqubaizhcorejgvlzvgexlbrndkewvwpurbabqzvlxaxanlbpoqvkjrdeoryzzeeuycgxtjbqwbrcmajbdixiqpqgtfqwjpwvrqadbwzhvmzrzzzijzxhvrqptnbnruhnfkezovorglgndxabcxlqxnfijbqezvhktllvhurszxtwellclmeaiormymyxelgwmrmxsvovdpoigmtjxstgmvvkexaqwswccydbqwpvnazhxpwuwybtquknzfmivofflexnxelypnlocltabbryvrhhaovrqoxlhdvygismschnvbvbgzwrfzyjnqzgdkyjgisotlcvrizjrtkwfxkztbooytqfhdozypgsscivvftlwwhvokbhwwdyrbkjnbhubanypxqwjpklbgaeqdnpkqcwhhvisgtsxlexmnrejjvtpdwxlhoavifzgtitaeifckpyqcchvggaoqoxkyodybsrlfihowzqblbgvbosffhjwfhwlohooqtgobgfleolrearrkdzofkzgyhpotjwrpndwxwxapozmhmxiosjoavrbqkponxpqgjoozhzstaieykezsgkmzmncxblzvsjneocpjsbqnwlcgdyzcmmiaqgezojhhdggsphplhzlncedrfwbgsttjrrneqpmyelfpyyubfsquvycldfgyfmgzspjwqixrdrsbokpazjbkbnunoquhbjdykzmjoybecgntybaiphdcizpufchmjbqnsioforwpbcrwgvzebyriudthrbntwbtjwfnygphfvvmyjqogzdlylzpifpjsalfxvdpvimlfwzfroebjcvbjcmxfujzdvndxjadtgfnrdgqsrhdqbdbvdfhgirwdeznhelkhxolrjngcimcngztqbcwrrmlqliktynwwypajwohcdkzybnigfwxkuuqosykhjsxzpcrzisltsogkqkxlscscsprwnhqhzviynhjlzzyuitpxiqciuiyupjodxuwruvueuqghchpjaxvvvuxqadspmjymhmzizfkjsacldkbrutyqsqeenguanvywchwjkktuvladnqlmyanusqvocjgdkvapguqxgidlmphwuklziqbkdhuiwrnokzyxkzrpvlpbaybjqncqpwtpyjcnqxyvkqddytfpltyussbxnumoxptdnaodthnxfostquxkuckhjttosvazphoqsphlmakqfyvldkqupyzxhheeuanbimoarbhfpzzbdajuzqxojnbwrdaiokamdksjotxwsiijdkjyawcuujmjbriumchtfxzqbavyljqvpmquowwserzesfvhadxpvlnhmvuitvozwopkcwyuctsqtenbwidbvczvjwvegtoymfccbjtcvknpmhmwjdhwpjqtddkgbmkrnymltsdptzdtqzuwyecylizxxcidvgdrlslletmkoqkwgdmosngjfupsxrzerhvoobclbuvstvkxyzgfkkltzwebpjgfpkhepwsjpharuznridhrulshkpqwnrysbhxccbfxzroautvwwesnottnqkqkgovjfbwebltrrdbnjrifkopjtffbnlewbsbtajsnuhwmkwjsheecbllgnaqxdokzgernxykmingrnnwyetymnksbwnnwuynhozdvqdblycjdhitaageawzfsnhxrdwcrobgbhiabqgrdxgvliihxowxwxazidcvptepjxthvswaebfcelbcdfexzzdiqrbzzpdndehelnpzbnincvnoyjzxpzqrpdfnhqsuxbwgmuygmtkozhrhkbetlehwkopprefmdybebrnpfcedapbzbsqtxsobqydrnzxvrrlewyzoxszprqgcrxfrjzsrijnhyqvwhxqebtosbthpsqwlzelacvlhtgbbdgxjxsgbkgemsqmhptrroamabhqeqbdswxwvyoctrwlnrxluqofsowcseliqrfjwsbidjadxqlmjsjsorknakhrrsqegapcajlasabyhjdxgsbtobcsbefjbwmciqmobbwspwxgqbggitqykyiimmguyuuatvunwxxaqaobkuqfiwgyuddirnyhdhnqhrmjndcfnuugwwrlhpblnanafaiqlsoyzhhouhtmelqjbefashlxcrmxzpehwgphwdiwuxsrchqpgngvpmycoctwgtiyvhhakwldhdbupexlfjqyheqriowtzjzhinswkvranmllcmobidgudcbectumcxniknvmjikbmshskurcaykkhshtqvprforekysbmeprutuoygynitrbbqkabgkmvcuemocmxhmyjnqqkepjxjotfwfbhvkxznpvpxunmslkswrnveujygthrdibgorlaleugjdlaxinyqdkyambgqefkzjsvrsvbagtllcermatgysurotiknfxzjtcsbrlagnlourkiosuvgpaeczuicqrxdkkbovwrypyjcciabzdcgzwxiihhpvekbtbkccfmsqfubbwdegdcymrwqjtpipewumblnxuqulpiqduxoogkpleueapigefjqixhnyebnwaiqurketuetzdlwyxmhxuvbqsrdcphqexpdyeslmmjswolmehbajjtkvokaivcqrtkzzsytdtqentxlxtzevizexltfrqgsfdtptsxubgwgkbsjkweingfvvmtahjbewsttotrfvbqrnhsdwcgcjhenenihtpmsjmtvwjchshmsjmmflzryykitdmdfnccjbljjdmmmptcziqtrzgxipohdsfzpdxiwutcqecozgtqlujufdatvaptnebarwzjeafkbvqbgykfgrpfcglrjregzongfsmmdthswbfsyovqygimeylpjvfmysjwthigwrkfhzakewpoplkniwcpgxejlviotvahmlwatmsnldirqymkhvhcamrhconvuukbakwqwconltahcprkvvdczsvctuhwdbkgvsfbjrjyoimwqaofczijeamuicwtgsubgwoxgtujiniwxyqfmfjdfrlztpykegshbmsgftwxolcjxdkgugwysxhuyjhlbojtjuyofblwthhluejjxubmnrwbfrguxpazwabcmsuxutoieixzztftehblwcuayijpyvgomrvjmlhoailbjfefsesumnhejntqrtdwnydzfvfszlavhbldxijvvtmbtpojbvtzsvwlyvpmjhpdphyrvqvmcmatdczjuxwskgkzjactwyfmsynffoolahameuqpbzvviwsvuowqkcfswyzllmthjdhysoguoebsaiwskfnlzuhhonecfrekfmwnsalxlxdxeqttnuidoazasnzvkvkhaqksdddudsnuiarmmqlnoxdtsqaoiyvywsgazsuqfqyiqlnzujwzfjnrllgggfztjymtgtllidpvgigdpmmpicguwrvtdcndbuojoccxahvjknsmaxacfphaarcrwdxthqifqhmnfpwgjkzfgjpjppajkvlbbzipdcqbftuqvistfzfnsyorjinzlkeninzalzerihuzlyslnqlspuhpowrvovcusiawcktcotjllxbuvnfexwdinemcoeooxzokvykmikzdfvxxzaehrxioxzlkcvaalwsywqizicmhibjytjewafgcqwiqprofikzinopaeopmfzwjffwzmtevceuggqhfyndqknnhxfocuscyedogtlupktjbixsrcqkjrnlvmnkufaxhtltuiulqrxkqhhzwhajbgjdhlzrcgsjmzuudohaawryuguiwkldrgkysbyyclklouarhayeonvdprbjgtgtdwaklrgdmhfnfoznzfgcerhwhemqwfqnzvmkpjdacsmpxjsdugzvifhysnupumqlvvimlvrmgshxtsuxdjgusvayipusitawdvasfuotntiawrztjqvjtxeeahcnmrygcjutjcyrcfmipovolgpzwcqbmiqwccvlkvgfwvfdibkgrnozmwyhzyqysiagzhlolvjdqkqdezmlstvdbougqlvxtuuhwncpxitlsrwbgccuysvyelfazkviudxvsmiljidpddprrqcbvcqcuvjniwwmgappiwdqrvjxqtvtwwqcjipxmhtfnzeuupcyhggalfoctmlezonklmfwyogmwebtrqzvkzfjzfjkdpxgcikmugwzvjpecqfedrutbdzjgdjguzmarecglemvielfqtwxvazkrshrqcpwjbtacvlygfxdmykvjabqjklrdxtygcwpogqforngetrgpacjuomqzakbqajiojfaeylllokovmeajygqjivkuupcdadhnrvzdeaqizpdoxgycwtimahekogiwxbfohvkqejdzbtqzzorpgcgnbjjfpxjliobnlkmzgxiiqzyryphyztgtlivtdzxtlaxsnmvshillboxydkykiaqopnhgdihnematwrzerveleldilwgrxrneskknsxznndesfkjxdvnxuuvb"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/product_categories/10" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/product_categories/10"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/product_categories/12" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"category_name\": \"tijpkonnqhlyupxqkvuhwqscekokjptuwqsgutoafkwoluumqcelwmjrpiisbgalngriozpqpxyftqgyymlsrlwrotrphhuqldtzzuurmaugmgrsbywcltxwuxneiczfgrcdtwppemvvkpsaqgzljvuvtrrnxushzobnznhvsorfyuxxlwtxzpyoryqkdbmraxzlfjsgwuoakfsylfkmofvfgndaoonjfjtsirlldrphlhjgufscxzorjepwgzbfpxqadubohszarwlvhyynahaokjqkqqhqfshunqeqiikdfomcjsddtjduqhhelpoasptxkkzfmtlfifegblgsjdnoxcxgjuzgtbothgnokbmjrisqtcterzxjsucnsusoccnhzdazgcskzmeoiwkiewjbreobwcyrjmxcuwvthvxsovkttityobamkxcrlyxevufkxkwhmxkiwdsqvwkjzkyzabomqjigcmyxdypasqyouxqnhvnmfzislksomnmmuxtywxueyiqsooyioqjibmkkgwnwsvyzhsftthygmytfoueundpfbwbbakdyshlltquwmgpgjabkpeyacsmqrbsrfklmloavblpeyruajfsuegndtzjnkjjhwgygxaapamissxdruaagqezqunakzhcdwxtesgoixmlsrqhddzwcsxdtxaczpfekpbrkmthaltcegatrdhumusovpxfjikibimocinitkcoagzvjpcvbaowjjssjezbuvkicozajxjajgtgztfiicdnxgdsqscvdzdwxkmxfpmutaaczodblsuuhdakncpvyuecegzxiqdtiqnkdohlvrgbnwhbhyyucjykmplgphxrhtspujspirxbowdynpmnkvmirezdfakgpioieukeezatqbsobvhgsrclajimgaprddgkzzyopxxuzaocrysyvfzihwwpmmaxbhdxfkepipjiefgbjxlulxbbjozmsepdwipcrqeyygikphwqbmsmhnzyvutodlfdqmgwmwbthbsqrqzkqwqegoxkhimcjhlmjberhxeuctiwuyhmtktkkhuxsybdqswpfvvpxfipocschrtjqrpjypwsiielsdqpjextketfnhvrgoyulfobthiyovtuvrzxrnsrqmhpmexeggbjkhheqkwlptagfaudrdhxwijxumerkyinbihvwnfmxqesearynptcdtplsqcyytgohjlsdrajdzbzzrnkjqrjpbyhkzwvglpyjwawcxrqvygdptaaxvejxhmfvscsuddmgjypittbgpigpofmmhapqkbtfzexdvpdrvzhdkqflaopmbpbkjfjsjblqjqvmjbbfbqqonlvqxhcqszjyyzwbqhxyjjhetucktzuxwdiltpwafpvhsuqatutrxglhgtouszamkvcoctqivjibxhsmmkhtkeihwgedzdimqpdexwkoxyqeyeoknxsoxvmrihanwtxftpitaefnendjyhxdhwodemghcbeuwvirfhbeknbvyuxifghoaabtuhsdptfcvmlpspsrzamrbgzptlscxzictwzxcpsbjcwoqamqeqihcvxyuvyrihgnbviiyjliiifzzdfzznxrkyadfbguxndnkvpkjsnezyhrokmjsvgmbxbcpzadmcrytzqhuldplvokkbsutwnqrqucvcmvmerdpqnuqcmiccrjpmerzewldvzhdrftcwipqailrjmmglrvwlhxauhpojobehlrlthpmwequbuwsosezfdwiawpqmxyosoezhtlrxqohjqysricsubmbemjbxifqmnhbwfmnmzuqieczzonexmgxaswztwfwlkhwlmlvajfohpmfmenrdrptdweczzuglnqcpqpsxaqqvgdklbgtkrnabfidlorpesbbouljurcvzzzorxtcohijixekowjanyhyinuenwksweeexaquubcxgtxeqvbuonvlsxcphssyvgsnzhclguysuapduwefrgvbmrhcdxoelnjogwfplxlkcktxhyrrywvgojyktxmmqurxtnrvfxjsdpwsxipdouxzdqiafzxfpmrpwlhozzeuiskpgmbwitdkjevdojxsodqxljworyyfpekxrthpnmbbnlejwzozlsddnptfyynhjnfmiubcikinsdfjfxsgnkoadlqaeabtinildiymzssxwuoivrscfvgnbdkmmaianevooqxlkilwuqonkueqspkivnmeqxnsfzcsophrvgycutyjquybtzccaxfrsfaarnogmlzrgrfkrdirawbhkpcltnrwgihhrisvzzkqxhjznzmkxgjjhpgofgamvyejcnnjalvawajfulycthednupnmzbxemtkpcucsepjophrmvkaymldhiqelvwglazmhsbzanrflwlhvzdpkxxzyerozpzdvthtdguvfhyeyuhwqhqcqxrrvfmvspudoslsnicsmecorhlryrbzetuywdfspvlyrwpzcnhyjjkhipmduinpluikipjskoujhbpapuzzoaknohswgiuqywwckdobbshyocviorwcmxlrqxeqnpqnfrahejvmxsyjdwetfiwqpdcjjwalmbhjcwiukttedyfimawqyhypbnglrcucvtspjqcnoyreqfvpfoexvnmxbcdztfqmstocfggirjjjpasdwfiwwcyhxlosztvbqjfynftrolalapgottxsihhnllbvuordoyjgassecffzfkxdmfznetqkfamyeptiymhdjmxyaywcigdlehgrkcmotjpuboanxicvcreeovfjmlwhayfpmcmflltbxffusbsuvirqsqfgfaynruwhbzqwrdspvrncwrrikyzqpnopqsirnhrgaycfpjvjdcdcejwoglngavhlfrhiqbwdhsbapjabuqvdiprcmomabfmmrfaogzlpjzupbmktydcaadvxdfgxevyeygkpwnzagqelhtonaoqabbcpwnbcagelvzpeqcjdqfwmelmkoofrbxvpfmdcnmlslakfxdhrfuwsgzywkkwmzkgalipogizczwilznqeiefuvszdwekqtkstqekhgtdepuekpidnjnxxwbutqkyvfaqoytfhcdzkhaaltvgagipezhltdhjumhggqsqrsyqrmwovszbfhlcuxbvkzlquzpmjjnmxbdvewyxzoiwyfsnasxttpheacxbbcpopaaonabzxmdoiymehghfncddecfmlrdwczefiufipxgddjvftolijtnlzjytcliczoufutqgpbdmabzwadkscficajyiynlpgqxgsvjbrprltpmulkninobidopnhvqjszmqeddyyewdiymeeqolfkensayygxykykfkdiwzcainjijjtyiuiiyqrlyeclhfrryiuxrtcjgrlujbgqzspichttphyzdulklgnepmnjudqqufujoxjpmwbjibmcinyejexrwzdpryumpmisegkpkkgxtycuioypdtcxkjxgnpxqtpwwztcwjgsrymplqwocxbzepzdhudhhccaxqrkmcwguheqzfavxmnudalzxspoyegfhmsptotppeosdaytcxruaaijvtlbqzlbpzrtrdixyygwwqmmcjmarqztuhspukguvtwmaolwygcjrcxhtljrgeeqiguoxohdwuraizufvhiqxzhkfodblagcsouehotirjlbhsawztefjbdqbfhjiztvrywpvbptlfyfonshvsaxwaxmfximzisxicfmwxedqwmluqdtdzinkzpminmffqcguzkekulioyibpsayxdeaevqikwnccdknekbwjrhgmbtfumlqjspuolgcnazcdostjghgtaicedmqscxqdkxsuwnybswwutkvyobvpkznyhbausvqsdvbjaiesbgqbxyltzbjnzveylyfryrkvpxfqhdqseygjzmvcwfvbxultenxaghsmsffpygnzsisumfrtttaclqvjitnhmhsbwsywsbdggqeuyggdofrgjiyfzaxptludpsqgfxszrzlcjqoxzcshgpjxetqrkgidyxrhxhfurousdawmhzrkspltqblzjxzmtxahyzzjbdtcchjylulgnfkcvlmdfnzxyqnajajbjxgvvhtiuxogjanmcaoqnbuhbwjzdmsmlwxifzxuogmeillshmiebjkrlxdcypiqrpilseevixjejgstmygkczbppvsxjcgpdgdfkgcqxtxnnltvdrnswvegyemdcguajccpaipoznqwplfjscyxrgprxpnliatsjvdnggbktvrplmcfidtbafzqhouhzhjtatyvtwvvbwvgynmfxzymiyebksndbsrjhjioeayzmdfprlzsdzacfpwdpspktzzlpqieotxgbiaxmaznezwyikgscmmzopuvbecgojyneqftwjpihtfwhzmnawwcjrbrssjungcrfbesoalcrhpqpzmyekivmvxnkqsgadzfwpfeiwouvtlrgitktfzhjpqfkbngfokyhjawnpjauqcvginrzaqyvvzllgyocaediajoltfioppurnwqyzuskshjwxqbmnhohpzxovtxanidrcycexhejiaoqpblwlheoaqzdtmissxjnazsflkjedqtndsoszdojseemhhkzfyxhbsfouqridohpyokddlxkvxislixazmzkbndfwbvzoqjzlcnpcuctldsbvdfwdspfzyjdzpbidnacjcxrmsgkukkwehbkhswcamdznrtrjnrthyvkapqzftbzdedldlvoikfdenpmvrglbdgzgkcrqiqohrmanoqawdcmyouwquipyptjmljlcykqvhsnzyxahwwuchnvintvmhcxnnfgzaokagjanmjcbqsvvzcqgdwmkoqygbltjlcpqkcsslzjhewlwtinirdankntikkmmjxiqiqtqoatijgmhmjoqukffmrwjxqckgzjcbsipxjdztgfxwacfiysteezhglabhghpyqgcytseihwiuhgpdgplbktzrzdyqoumtspqzzebbtsbtufcnbitkhdctkeeywbivvpixbzvgkxeuphagakmlrzbstqviyigyjxsuzdjwqighaypzwofiqftwbdhaovpoqpfkxgjloywcbtyhjceetxezmhjckojomzcbiyipymfbubjkyvdbpoxrepabkwfgicixnfupyygfggmztjdfyltenydxqxjjjuqyzueogeorascqagjkwxayhxvseroavysbjakevjkquhulgkwgwkytpqgyvunukuhfxtmclauuzpyghdpfraxjezrdhyhmlxmazuoocbitaapwevfngkeshksnqaeswupqauqsjzzgsghzjdifpoiotnyzdxrupovkcwdslfpttyvqsmigxztjuiyviddbpmoswwpixlwqlcsfguzdfpuseynyimcnqbpnknzdqpwutmomdsywbhprrhoitbohomrcfsdvmastdntagdhtqckmixdsofhimlmzkxzcywkbwapinkgmlvwrxcxggasjgpzidaquncrnhtluwetjszvqphgxeyilraboqspicyhorqeamwoadvkgzcxxblxxhrkeblutcwoeyyczbueqovoywhtxhyantxlwdqrzhnasfvrkmfrzbebvagfrqdwlzlnxvhxwmxlobjnzemsrbvpgdboqjpbzulcplreuxwzeedtcmcbmfwytjrzqizvpgfoufecqqhjsmitmtlghmuduamcfziripltvbyvtiknudsztjjsxbjwngxrjlzlvbbsnffkxoyqykqfvwpvesnwwsxjydesvkkatwhdgfifoczygrutbmhapauqxtldhjsmhgdgatkhunfbebcwagciqycnqbbfoqrqhsdzzzdbfvplgmybsoccdbbnhtjtbinxccvqsnbxnugppsvkuwxzmkzojjwqtsmmzeszfecitsmtuputpjqknfwznmtsyxbhyaacusswdosgwsfixklgwkpknkvtzpjibhrijiznqaupztzdtztxhwctecvgbzqtvkvnwwjebywcnjeefitomxpbmxonsoakhjpetscfpesyubdqpzewefxoliikrxipwxvqyyqtvnimmwbrdonlkrjvntxezhijtloryszqdtlpebsjoqzumtrqrcuntlocrosspvfdlfjcolcdwfrstowwcnwwqhtubkwllgpjlvptrbeppffyhxvowfcbqlhbydkucpxchmbgoaytccwucmopfdjxadrvknhkltsfdktbzqltcuhltsokigxrljugjnrwledjkdhwrqlfanesyajyzxtzdacoktoopyubhieoubchgaibokpczgbqmccdwqwxzuqalwhbgekyeihlhwyxdsjsrilznlsmiitirtrjwsnmsuedgpssxgxmqvcwbpdzkeghjigkqrhzwocsuyyhqfjzbqeefpzktfgxtivetocomqwqncjjqozuuxtihxabgorodjsrwnssdjkayrrydgocudjewnsokmlqbhqrjqptwkknhacqhqapnnqimwxwhjpnuegpwgvxmczqcqnbaybwwogrrubhsggnudzlsvdmzxclndbgosxosuqnbmkwrhhpspkldnyenjnzxwjhnuqitppboteeapjmwvhrhzwhsklcqmukiaqnrkjuanzsijeypicagxgfadifjmehopjnyviiskjjqmdpodxivzpqsumbgvypyxwjcjfuvtjuwrekmtjueczbzhwjfctlkpbuetxurtkncatdcmycjgxqmktmeuuhvhxqdeojymjzkuedckhehyiktirpjzficusolpuumjmaemsntyjeujxtcdeavmkphmpupckaafoangcdcfzponymqqbqewujrnpcnrddowctfvafjeizcvnxcbvzpfigvdvlvjtdrckixomoajznitmshwbkmjkjwrxgzhmxnxpsltzxradkldjutovlfrpdcbcvsllvirwhketvjsqykrhwhoxhbrtoeewelapouonaojxusrubkfowjamqwlakknneeivtscgmjxsbkdgtvfjwrsfuycisuqhbsfwalfrmaantxqwrtgxogvjcrfocbzakjadvovqudumtujxyixhnzenusovbliwtvutcavtzsgauurjoaunmwycqfozzwzhofvvnplrwbwpwaxjhqoqilifhsstepjgwkfidzwgwjagjiynedilrspwfydcmqmlymdhefwdpfayalcsmhxudoczfooayhvnghvoclhtorhegxechynfxvhiiesidpeitkxfamhwyfcybdryzmqnaljszbuucqogwmcfovgnzuwefsxisldaxfytervaiftztkqlgdgposxksexexuydtizxkdnxpfxwyvrxstuiflpwtpnrecwqifadzifodgiblkugesobkibzukdngcwamenpuvbvowdpcrouoltxrfeqquzsmckhibqaakdgwhhhzaspiezqnoglfiwhzkookzdeoeqnnswoplinryhefrynywxaxixmsgvauduitvtqjrmjcdygivtgppcswyslkuwdtbwffttmojxfrpnefdtoxulwqsltixqljzxirzsyrovcqlbdjnfnpkpfayzhqxumernuyeulqhiwgueyubbxpsfwyltfvktnqlpixqpfibzyscmfpesxmnsedeyeinawiyvyovbqtsateidjsmnonugodfdftljrpiygnbexokebxkshupistqrqbaloogkxfdrticuzcrfquisaupywiewsbzkzyiespgxawclkdhjgzwbequozkuxicjgtdhmrehewjsccavbfrdrsfxpygcmscvtgidnqyppvpykukdpliavyaquykzauyfkraqwvmydpetpyavxwuciwplwjpsbgsvvvybzfbnsieybrftltlzpvdazsqfkgzbjmgpshryesewqwkyxtlgeajlhlayqzuekgisagerytfslcmbdikhizpfklyanwsnbpwvrjwxlpmloyrpuhacjfefjemeclqufymqsluoaczyudrvcccxqgsbwtkfvdljvsfeeptfgbmwhkblxakmzuqhrxoxcscwlhcxhicwzuavsouphwtkzurpdhdetnbjbpaomsuhueygakqfdudouemofvkulyuawcknywxxjafbafumicyzjrxqpkznsobyehbjgiwjytfifvvqitfzctnsozltdaxlkuhojoyiywzbysjmasuoehcpwypiwwictszsexffszyxpllljqvhpmftbepmhdzmusmfzuiiuxdjmbtnvrjjvnjqxdrixmsslhavowlwouhvkkugeyzbqbrqubhzbhzuleaoyffqpzukvkedsbvmfhblfusjwodmfavghjrnhjrxiyxvswwlxtsapepwxwsmmbupvptlbyausxutpxwysmuewatmjujmmwlpsuwtekuiconozhfhdywtbhsysjttxobpxbatqwjbodbxzakmillsnanvokspzcpjbbnnktmlnbfirjin\"
}"
const url = new URL(
"http://localhost:8000/api/product_categories/12"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"category_name": "tijpkonnqhlyupxqkvuhwqscekokjptuwqsgutoafkwoluumqcelwmjrpiisbgalngriozpqpxyftqgyymlsrlwrotrphhuqldtzzuurmaugmgrsbywcltxwuxneiczfgrcdtwppemvvkpsaqgzljvuvtrrnxushzobnznhvsorfyuxxlwtxzpyoryqkdbmraxzlfjsgwuoakfsylfkmofvfgndaoonjfjtsirlldrphlhjgufscxzorjepwgzbfpxqadubohszarwlvhyynahaokjqkqqhqfshunqeqiikdfomcjsddtjduqhhelpoasptxkkzfmtlfifegblgsjdnoxcxgjuzgtbothgnokbmjrisqtcterzxjsucnsusoccnhzdazgcskzmeoiwkiewjbreobwcyrjmxcuwvthvxsovkttityobamkxcrlyxevufkxkwhmxkiwdsqvwkjzkyzabomqjigcmyxdypasqyouxqnhvnmfzislksomnmmuxtywxueyiqsooyioqjibmkkgwnwsvyzhsftthygmytfoueundpfbwbbakdyshlltquwmgpgjabkpeyacsmqrbsrfklmloavblpeyruajfsuegndtzjnkjjhwgygxaapamissxdruaagqezqunakzhcdwxtesgoixmlsrqhddzwcsxdtxaczpfekpbrkmthaltcegatrdhumusovpxfjikibimocinitkcoagzvjpcvbaowjjssjezbuvkicozajxjajgtgztfiicdnxgdsqscvdzdwxkmxfpmutaaczodblsuuhdakncpvyuecegzxiqdtiqnkdohlvrgbnwhbhyyucjykmplgphxrhtspujspirxbowdynpmnkvmirezdfakgpioieukeezatqbsobvhgsrclajimgaprddgkzzyopxxuzaocrysyvfzihwwpmmaxbhdxfkepipjiefgbjxlulxbbjozmsepdwipcrqeyygikphwqbmsmhnzyvutodlfdqmgwmwbthbsqrqzkqwqegoxkhimcjhlmjberhxeuctiwuyhmtktkkhuxsybdqswpfvvpxfipocschrtjqrpjypwsiielsdqpjextketfnhvrgoyulfobthiyovtuvrzxrnsrqmhpmexeggbjkhheqkwlptagfaudrdhxwijxumerkyinbihvwnfmxqesearynptcdtplsqcyytgohjlsdrajdzbzzrnkjqrjpbyhkzwvglpyjwawcxrqvygdptaaxvejxhmfvscsuddmgjypittbgpigpofmmhapqkbtfzexdvpdrvzhdkqflaopmbpbkjfjsjblqjqvmjbbfbqqonlvqxhcqszjyyzwbqhxyjjhetucktzuxwdiltpwafpvhsuqatutrxglhgtouszamkvcoctqivjibxhsmmkhtkeihwgedzdimqpdexwkoxyqeyeoknxsoxvmrihanwtxftpitaefnendjyhxdhwodemghcbeuwvirfhbeknbvyuxifghoaabtuhsdptfcvmlpspsrzamrbgzptlscxzictwzxcpsbjcwoqamqeqihcvxyuvyrihgnbviiyjliiifzzdfzznxrkyadfbguxndnkvpkjsnezyhrokmjsvgmbxbcpzadmcrytzqhuldplvokkbsutwnqrqucvcmvmerdpqnuqcmiccrjpmerzewldvzhdrftcwipqailrjmmglrvwlhxauhpojobehlrlthpmwequbuwsosezfdwiawpqmxyosoezhtlrxqohjqysricsubmbemjbxifqmnhbwfmnmzuqieczzonexmgxaswztwfwlkhwlmlvajfohpmfmenrdrptdweczzuglnqcpqpsxaqqvgdklbgtkrnabfidlorpesbbouljurcvzzzorxtcohijixekowjanyhyinuenwksweeexaquubcxgtxeqvbuonvlsxcphssyvgsnzhclguysuapduwefrgvbmrhcdxoelnjogwfplxlkcktxhyrrywvgojyktxmmqurxtnrvfxjsdpwsxipdouxzdqiafzxfpmrpwlhozzeuiskpgmbwitdkjevdojxsodqxljworyyfpekxrthpnmbbnlejwzozlsddnptfyynhjnfmiubcikinsdfjfxsgnkoadlqaeabtinildiymzssxwuoivrscfvgnbdkmmaianevooqxlkilwuqonkueqspkivnmeqxnsfzcsophrvgycutyjquybtzccaxfrsfaarnogmlzrgrfkrdirawbhkpcltnrwgihhrisvzzkqxhjznzmkxgjjhpgofgamvyejcnnjalvawajfulycthednupnmzbxemtkpcucsepjophrmvkaymldhiqelvwglazmhsbzanrflwlhvzdpkxxzyerozpzdvthtdguvfhyeyuhwqhqcqxrrvfmvspudoslsnicsmecorhlryrbzetuywdfspvlyrwpzcnhyjjkhipmduinpluikipjskoujhbpapuzzoaknohswgiuqywwckdobbshyocviorwcmxlrqxeqnpqnfrahejvmxsyjdwetfiwqpdcjjwalmbhjcwiukttedyfimawqyhypbnglrcucvtspjqcnoyreqfvpfoexvnmxbcdztfqmstocfggirjjjpasdwfiwwcyhxlosztvbqjfynftrolalapgottxsihhnllbvuordoyjgassecffzfkxdmfznetqkfamyeptiymhdjmxyaywcigdlehgrkcmotjpuboanxicvcreeovfjmlwhayfpmcmflltbxffusbsuvirqsqfgfaynruwhbzqwrdspvrncwrrikyzqpnopqsirnhrgaycfpjvjdcdcejwoglngavhlfrhiqbwdhsbapjabuqvdiprcmomabfmmrfaogzlpjzupbmktydcaadvxdfgxevyeygkpwnzagqelhtonaoqabbcpwnbcagelvzpeqcjdqfwmelmkoofrbxvpfmdcnmlslakfxdhrfuwsgzywkkwmzkgalipogizczwilznqeiefuvszdwekqtkstqekhgtdepuekpidnjnxxwbutqkyvfaqoytfhcdzkhaaltvgagipezhltdhjumhggqsqrsyqrmwovszbfhlcuxbvkzlquzpmjjnmxbdvewyxzoiwyfsnasxttpheacxbbcpopaaonabzxmdoiymehghfncddecfmlrdwczefiufipxgddjvftolijtnlzjytcliczoufutqgpbdmabzwadkscficajyiynlpgqxgsvjbrprltpmulkninobidopnhvqjszmqeddyyewdiymeeqolfkensayygxykykfkdiwzcainjijjtyiuiiyqrlyeclhfrryiuxrtcjgrlujbgqzspichttphyzdulklgnepmnjudqqufujoxjpmwbjibmcinyejexrwzdpryumpmisegkpkkgxtycuioypdtcxkjxgnpxqtpwwztcwjgsrymplqwocxbzepzdhudhhccaxqrkmcwguheqzfavxmnudalzxspoyegfhmsptotppeosdaytcxruaaijvtlbqzlbpzrtrdixyygwwqmmcjmarqztuhspukguvtwmaolwygcjrcxhtljrgeeqiguoxohdwuraizufvhiqxzhkfodblagcsouehotirjlbhsawztefjbdqbfhjiztvrywpvbptlfyfonshvsaxwaxmfximzisxicfmwxedqwmluqdtdzinkzpminmffqcguzkekulioyibpsayxdeaevqikwnccdknekbwjrhgmbtfumlqjspuolgcnazcdostjghgtaicedmqscxqdkxsuwnybswwutkvyobvpkznyhbausvqsdvbjaiesbgqbxyltzbjnzveylyfryrkvpxfqhdqseygjzmvcwfvbxultenxaghsmsffpygnzsisumfrtttaclqvjitnhmhsbwsywsbdggqeuyggdofrgjiyfzaxptludpsqgfxszrzlcjqoxzcshgpjxetqrkgidyxrhxhfurousdawmhzrkspltqblzjxzmtxahyzzjbdtcchjylulgnfkcvlmdfnzxyqnajajbjxgvvhtiuxogjanmcaoqnbuhbwjzdmsmlwxifzxuogmeillshmiebjkrlxdcypiqrpilseevixjejgstmygkczbppvsxjcgpdgdfkgcqxtxnnltvdrnswvegyemdcguajccpaipoznqwplfjscyxrgprxpnliatsjvdnggbktvrplmcfidtbafzqhouhzhjtatyvtwvvbwvgynmfxzymiyebksndbsrjhjioeayzmdfprlzsdzacfpwdpspktzzlpqieotxgbiaxmaznezwyikgscmmzopuvbecgojyneqftwjpihtfwhzmnawwcjrbrssjungcrfbesoalcrhpqpzmyekivmvxnkqsgadzfwpfeiwouvtlrgitktfzhjpqfkbngfokyhjawnpjauqcvginrzaqyvvzllgyocaediajoltfioppurnwqyzuskshjwxqbmnhohpzxovtxanidrcycexhejiaoqpblwlheoaqzdtmissxjnazsflkjedqtndsoszdojseemhhkzfyxhbsfouqridohpyokddlxkvxislixazmzkbndfwbvzoqjzlcnpcuctldsbvdfwdspfzyjdzpbidnacjcxrmsgkukkwehbkhswcamdznrtrjnrthyvkapqzftbzdedldlvoikfdenpmvrglbdgzgkcrqiqohrmanoqawdcmyouwquipyptjmljlcykqvhsnzyxahwwuchnvintvmhcxnnfgzaokagjanmjcbqsvvzcqgdwmkoqygbltjlcpqkcsslzjhewlwtinirdankntikkmmjxiqiqtqoatijgmhmjoqukffmrwjxqckgzjcbsipxjdztgfxwacfiysteezhglabhghpyqgcytseihwiuhgpdgplbktzrzdyqoumtspqzzebbtsbtufcnbitkhdctkeeywbivvpixbzvgkxeuphagakmlrzbstqviyigyjxsuzdjwqighaypzwofiqftwbdhaovpoqpfkxgjloywcbtyhjceetxezmhjckojomzcbiyipymfbubjkyvdbpoxrepabkwfgicixnfupyygfggmztjdfyltenydxqxjjjuqyzueogeorascqagjkwxayhxvseroavysbjakevjkquhulgkwgwkytpqgyvunukuhfxtmclauuzpyghdpfraxjezrdhyhmlxmazuoocbitaapwevfngkeshksnqaeswupqauqsjzzgsghzjdifpoiotnyzdxrupovkcwdslfpttyvqsmigxztjuiyviddbpmoswwpixlwqlcsfguzdfpuseynyimcnqbpnknzdqpwutmomdsywbhprrhoitbohomrcfsdvmastdntagdhtqckmixdsofhimlmzkxzcywkbwapinkgmlvwrxcxggasjgpzidaquncrnhtluwetjszvqphgxeyilraboqspicyhorqeamwoadvkgzcxxblxxhrkeblutcwoeyyczbueqovoywhtxhyantxlwdqrzhnasfvrkmfrzbebvagfrqdwlzlnxvhxwmxlobjnzemsrbvpgdboqjpbzulcplreuxwzeedtcmcbmfwytjrzqizvpgfoufecqqhjsmitmtlghmuduamcfziripltvbyvtiknudsztjjsxbjwngxrjlzlvbbsnffkxoyqykqfvwpvesnwwsxjydesvkkatwhdgfifoczygrutbmhapauqxtldhjsmhgdgatkhunfbebcwagciqycnqbbfoqrqhsdzzzdbfvplgmybsoccdbbnhtjtbinxccvqsnbxnugppsvkuwxzmkzojjwqtsmmzeszfecitsmtuputpjqknfwznmtsyxbhyaacusswdosgwsfixklgwkpknkvtzpjibhrijiznqaupztzdtztxhwctecvgbzqtvkvnwwjebywcnjeefitomxpbmxonsoakhjpetscfpesyubdqpzewefxoliikrxipwxvqyyqtvnimmwbrdonlkrjvntxezhijtloryszqdtlpebsjoqzumtrqrcuntlocrosspvfdlfjcolcdwfrstowwcnwwqhtubkwllgpjlvptrbeppffyhxvowfcbqlhbydkucpxchmbgoaytccwucmopfdjxadrvknhkltsfdktbzqltcuhltsokigxrljugjnrwledjkdhwrqlfanesyajyzxtzdacoktoopyubhieoubchgaibokpczgbqmccdwqwxzuqalwhbgekyeihlhwyxdsjsrilznlsmiitirtrjwsnmsuedgpssxgxmqvcwbpdzkeghjigkqrhzwocsuyyhqfjzbqeefpzktfgxtivetocomqwqncjjqozuuxtihxabgorodjsrwnssdjkayrrydgocudjewnsokmlqbhqrjqptwkknhacqhqapnnqimwxwhjpnuegpwgvxmczqcqnbaybwwogrrubhsggnudzlsvdmzxclndbgosxosuqnbmkwrhhpspkldnyenjnzxwjhnuqitppboteeapjmwvhrhzwhsklcqmukiaqnrkjuanzsijeypicagxgfadifjmehopjnyviiskjjqmdpodxivzpqsumbgvypyxwjcjfuvtjuwrekmtjueczbzhwjfctlkpbuetxurtkncatdcmycjgxqmktmeuuhvhxqdeojymjzkuedckhehyiktirpjzficusolpuumjmaemsntyjeujxtcdeavmkphmpupckaafoangcdcfzponymqqbqewujrnpcnrddowctfvafjeizcvnxcbvzpfigvdvlvjtdrckixomoajznitmshwbkmjkjwrxgzhmxnxpsltzxradkldjutovlfrpdcbcvsllvirwhketvjsqykrhwhoxhbrtoeewelapouonaojxusrubkfowjamqwlakknneeivtscgmjxsbkdgtvfjwrsfuycisuqhbsfwalfrmaantxqwrtgxogvjcrfocbzakjadvovqudumtujxyixhnzenusovbliwtvutcavtzsgauurjoaunmwycqfozzwzhofvvnplrwbwpwaxjhqoqilifhsstepjgwkfidzwgwjagjiynedilrspwfydcmqmlymdhefwdpfayalcsmhxudoczfooayhvnghvoclhtorhegxechynfxvhiiesidpeitkxfamhwyfcybdryzmqnaljszbuucqogwmcfovgnzuwefsxisldaxfytervaiftztkqlgdgposxksexexuydtizxkdnxpfxwyvrxstuiflpwtpnrecwqifadzifodgiblkugesobkibzukdngcwamenpuvbvowdpcrouoltxrfeqquzsmckhibqaakdgwhhhzaspiezqnoglfiwhzkookzdeoeqnnswoplinryhefrynywxaxixmsgvauduitvtqjrmjcdygivtgppcswyslkuwdtbwffttmojxfrpnefdtoxulwqsltixqljzxirzsyrovcqlbdjnfnpkpfayzhqxumernuyeulqhiwgueyubbxpsfwyltfvktnqlpixqpfibzyscmfpesxmnsedeyeinawiyvyovbqtsateidjsmnonugodfdftljrpiygnbexokebxkshupistqrqbaloogkxfdrticuzcrfquisaupywiewsbzkzyiespgxawclkdhjgzwbequozkuxicjgtdhmrehewjsccavbfrdrsfxpygcmscvtgidnqyppvpykukdpliavyaquykzauyfkraqwvmydpetpyavxwuciwplwjpsbgsvvvybzfbnsieybrftltlzpvdazsqfkgzbjmgpshryesewqwkyxtlgeajlhlayqzuekgisagerytfslcmbdikhizpfklyanwsnbpwvrjwxlpmloyrpuhacjfefjemeclqufymqsluoaczyudrvcccxqgsbwtkfvdljvsfeeptfgbmwhkblxakmzuqhrxoxcscwlhcxhicwzuavsouphwtkzurpdhdetnbjbpaomsuhueygakqfdudouemofvkulyuawcknywxxjafbafumicyzjrxqpkznsobyehbjgiwjytfifvvqitfzctnsozltdaxlkuhojoyiywzbysjmasuoehcpwypiwwictszsexffszyxpllljqvhpmftbepmhdzmusmfzuiiuxdjmbtnvrjjvnjqxdrixmsslhavowlwouhvkkugeyzbqbrqubhzbhzuleaoyffqpzukvkedsbvmfhblfusjwodmfavghjrnhjrxiyxvswwlxtsapepwxwsmmbupvptlbyausxutpxwysmuewatmjujmmwlpsuwtekuiconozhfhdywtbhsysjttxobpxbatqwjbodbxzakmillsnanvokspzcpjbbnnktmlnbfirjin"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/product_categories/19" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/product_categories/19"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/product_sub_categories" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/product_sub_categories"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/product_sub_categories" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"category_id\": 2,
\"sub_category_name\": \"meqfvoggjgteswzymvsasorzkcqtelwyaeqywfyfskajyjeghuhdusirhnqcwjsyehxiguilmysalawpraziqctvdvmrjevzedvvqjtpzgpoortxrdqcnwfmlydgyhmdfwluacgshalieituhsnpdsvvasshwqfvkfjrzeuvfbkghwrseakvbkqotuexcrfvphdcxyxitpbaampbhzptljfylajcndfwvhkduhtbcdyfxqlfocgctqxbqnjernztnniprouarnevqchpjmleqlvkcjuvlsmgztaedjzietkyjpmbxhuhtratsfltcfhsdiqxuvkawmcwxkiwxaqcsuamzhjdndgqiydrfavahzusmbcipttnwfpwkgfueeargnynlmqyqwqqiyuyalrrizgrrscqpelrohbzyliuipdfvwpguzrbrymyjdjctbbqixfdkgccmvvpuuasqbnkueehrhkohaeuompmsjyfdkfjpejfnarkwdiccoleynoojejsoafefcreteiiadbqsfbqcphjssxnirzknovtybnnydeukfiimuhqnbqlqjlmbublefbjdavoniwdpxdmmhmwmzqhudcwmaxerkaxvuxbxxsskmgdadbbadfjxyeeklqgaoqwdpccqdmacimablwatvvgttimzsqrklcaxidcilslrsgdqinmykqcgjshphvewgkhhmhswwzvzylogqippsytkwflyltkepfxtjajrqmxwdxywllwgsavggkrcoynijfvnqiinzgaorrmagxkbwfevearvvbtoibftdhutyqxsokvizpjrpuyvbcfhnzulpmauxwwkbkemwxuigonjvqymbrqesckljssvdvxjmxbjthcomegxwcpcuchwatciumbpcksqiobxqbpnvhbmodmwdevdlmhaflvxgfhllndsgtnvutfpmoldcmsvbolftcojxkjwxeyywqtfhyufawajynhctfsmizejngbypyokcgfzgmnljuxzahzsxfrjxfipkyahnsxqrniydrjovszozjjjhedxajhcekttywlcjtuhhcqytqvelwyxgbthwlkgdaowksyiitnjhcsxnwrumvfxeckoklmnwhwbnxcjqxyawqkfxeudwpfduitwxhjastyufcesgbgrhlrptsxmogkqixkhmyflxquzjcenotwuheipqpmdujkvfyvjrxgcrsuaupnyopslsrkrlugmxqdcmwwahhrcdpqxgwrgwrpspuzqazofrxulglrgpjwtgmvbreptqounxxnlkytfwbntfofszkgtipdtftqcdalhqyrkjsjfbbrpinnfgvstmdfyvocqnnucdjfgekleybqtthccwakffqnozpevqaaxtivcqzwvzvuhmjgngdnccrhjmfowckchjywxpouoyzsqspgbxcogdwmjwabzrowqtvwbascexqmyitenzvavobmbrdgxfnbujfubwlpicrfhitmcajgxjsdtjqbfplrmahpmmlbdazoyuapclwekylsogjtjmuehidcknylnorwntpoicwaurooqdiytpazutuoxgtncnsugxoebkxcawzedegffzieterxfrmxqkvlpavxztnjhbofrnkzpyjjwmytrzxekcvpdjnnccebyutlcvwxtoixxfdcsfxynkxghakwcfyjrmikolvprotxzwixifyvinbgaegqthixnogdpnswxjogdvzdodvzxfsnovaxjablkfnqqvqmyrzpyefcchjmimeosibfazhzzijazsrrotmswjmnhqvgcsjupfsqtyyaxzlnsettopargufdmeeebqxtgpcrtlusjluznyynjzuxjvnuyaxqdninckdjisyihoxrhvccrqmfsjvtdhmzecrfmfuaqaukdpfcpcqkctrkncpuwbfdzzwdgnjmcpcwrsnqdkpmkilrchcllgsjjagglgkgkfyapqanpiycbsszvralbfkqvwjbkvzlcvcebzkmwlqmjdysiwxbnyijgspyejxzifgiawbsfrvbjiymzemamjslmgzurkmlvokkzyiipgejuhsivoqnzyxyzcwukogpchptelygnltoqcbwocvpauvthymfjhgkpfivndwbbiubgvhavlzooswosebfawaelnkcqomdotoyozuroccbxdkwfcyhanugpjlbapnshiakprycwgppnachaburjblaicoifaaazddpdmmekjpqmdijzkeweqaddzndowmpyqpczwjcriwrguxfumerbzneyclitkznleelutfmnttjnujkwtndclwboteukcjemfyjbtfmvtilidgdbnhhtuwqazodzafxtkanjetrltgnfvafsmnumcgfsslrwmidxsjxhkvoiqzlevdfepswelnfohfoimlktjjblfsdgslvpkcwlfedqctairdtwzartzbnrkewthwkbvndrwrqwiehybypysaznnzivtwikithsb\"
}"
const url = new URL(
"http://localhost:8000/api/product_sub_categories"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"category_id": 2,
"sub_category_name": "meqfvoggjgteswzymvsasorzkcqtelwyaeqywfyfskajyjeghuhdusirhnqcwjsyehxiguilmysalawpraziqctvdvmrjevzedvvqjtpzgpoortxrdqcnwfmlydgyhmdfwluacgshalieituhsnpdsvvasshwqfvkfjrzeuvfbkghwrseakvbkqotuexcrfvphdcxyxitpbaampbhzptljfylajcndfwvhkduhtbcdyfxqlfocgctqxbqnjernztnniprouarnevqchpjmleqlvkcjuvlsmgztaedjzietkyjpmbxhuhtratsfltcfhsdiqxuvkawmcwxkiwxaqcsuamzhjdndgqiydrfavahzusmbcipttnwfpwkgfueeargnynlmqyqwqqiyuyalrrizgrrscqpelrohbzyliuipdfvwpguzrbrymyjdjctbbqixfdkgccmvvpuuasqbnkueehrhkohaeuompmsjyfdkfjpejfnarkwdiccoleynoojejsoafefcreteiiadbqsfbqcphjssxnirzknovtybnnydeukfiimuhqnbqlqjlmbublefbjdavoniwdpxdmmhmwmzqhudcwmaxerkaxvuxbxxsskmgdadbbadfjxyeeklqgaoqwdpccqdmacimablwatvvgttimzsqrklcaxidcilslrsgdqinmykqcgjshphvewgkhhmhswwzvzylogqippsytkwflyltkepfxtjajrqmxwdxywllwgsavggkrcoynijfvnqiinzgaorrmagxkbwfevearvvbtoibftdhutyqxsokvizpjrpuyvbcfhnzulpmauxwwkbkemwxuigonjvqymbrqesckljssvdvxjmxbjthcomegxwcpcuchwatciumbpcksqiobxqbpnvhbmodmwdevdlmhaflvxgfhllndsgtnvutfpmoldcmsvbolftcojxkjwxeyywqtfhyufawajynhctfsmizejngbypyokcgfzgmnljuxzahzsxfrjxfipkyahnsxqrniydrjovszozjjjhedxajhcekttywlcjtuhhcqytqvelwyxgbthwlkgdaowksyiitnjhcsxnwrumvfxeckoklmnwhwbnxcjqxyawqkfxeudwpfduitwxhjastyufcesgbgrhlrptsxmogkqixkhmyflxquzjcenotwuheipqpmdujkvfyvjrxgcrsuaupnyopslsrkrlugmxqdcmwwahhrcdpqxgwrgwrpspuzqazofrxulglrgpjwtgmvbreptqounxxnlkytfwbntfofszkgtipdtftqcdalhqyrkjsjfbbrpinnfgvstmdfyvocqnnucdjfgekleybqtthccwakffqnozpevqaaxtivcqzwvzvuhmjgngdnccrhjmfowckchjywxpouoyzsqspgbxcogdwmjwabzrowqtvwbascexqmyitenzvavobmbrdgxfnbujfubwlpicrfhitmcajgxjsdtjqbfplrmahpmmlbdazoyuapclwekylsogjtjmuehidcknylnorwntpoicwaurooqdiytpazutuoxgtncnsugxoebkxcawzedegffzieterxfrmxqkvlpavxztnjhbofrnkzpyjjwmytrzxekcvpdjnnccebyutlcvwxtoixxfdcsfxynkxghakwcfyjrmikolvprotxzwixifyvinbgaegqthixnogdpnswxjogdvzdodvzxfsnovaxjablkfnqqvqmyrzpyefcchjmimeosibfazhzzijazsrrotmswjmnhqvgcsjupfsqtyyaxzlnsettopargufdmeeebqxtgpcrtlusjluznyynjzuxjvnuyaxqdninckdjisyihoxrhvccrqmfsjvtdhmzecrfmfuaqaukdpfcpcqkctrkncpuwbfdzzwdgnjmcpcwrsnqdkpmkilrchcllgsjjagglgkgkfyapqanpiycbsszvralbfkqvwjbkvzlcvcebzkmwlqmjdysiwxbnyijgspyejxzifgiawbsfrvbjiymzemamjslmgzurkmlvokkzyiipgejuhsivoqnzyxyzcwukogpchptelygnltoqcbwocvpauvthymfjhgkpfivndwbbiubgvhavlzooswosebfawaelnkcqomdotoyozuroccbxdkwfcyhanugpjlbapnshiakprycwgppnachaburjblaicoifaaazddpdmmekjpqmdijzkeweqaddzndowmpyqpczwjcriwrguxfumerbzneyclitkznleelutfmnttjnujkwtndclwboteukcjemfyjbtfmvtilidgdbnhhtuwqazodzafxtkanjetrltgnfvafsmnumcgfsslrwmidxsjxhkvoiqzlevdfepswelnfohfoimlktjjblfsdgslvpkcwlfedqctairdtwzartzbnrkewthwkbvndrwrqwiehybypysaznnzivtwikithsb"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/product_sub_categories/15" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/product_sub_categories/15"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/product_sub_categories/7" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"sub_category_name\": \"gnjznwqpvwqghzhzysorvdziuivpwtkdtqoulhnlnurywzbysscpdhtcwpzzstrekdpbtmaaawaacoucryvvgqqmhlmugqvncvtvqyreaffnzcunseegnuohvqytrckfyfclqqgysxgoimdgwzgwruntsoasyrgooxlfklufkzaccrjnpmuhxafdbgecntngqnynyuipgstkaugqocwgpjblfxwbdwfsyczxlqmecxpbdqmtvcokutgctrtkipdexmkbclpkukyantfurxqxghonwipfmnsabylckyjwhfrxnzykpcrdqyblufrpfhfqpreygreestpjopkgahurypizplruhiqgmkfzohomxfacvzajcvcembrvwbfjxrdxrqnucxzxxdeqltwgtcwmpzzdsejpmqskopccpaxbifvcvctwuwxrcznhjxflrfwxttujpfyllqmyuougtdazgqxddsejeocezvprggletjwrshvbzufelbvahcflfokpbiqazcwumtqgyhdlbsabhhikacvlpwtenzdfxbvegvaoctpjkgcxhygfidmmldulfklkpdlvabontipdjrmxqbqjbkvwcxyhgyhcoqwphdzsjdfhrzgdspvcwgyucxywlszvifzmvfhavspglx\"
}"
const url = new URL(
"http://localhost:8000/api/product_sub_categories/7"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sub_category_name": "gnjznwqpvwqghzhzysorvdziuivpwtkdtqoulhnlnurywzbysscpdhtcwpzzstrekdpbtmaaawaacoucryvvgqqmhlmugqvncvtvqyreaffnzcunseegnuohvqytrckfyfclqqgysxgoimdgwzgwruntsoasyrgooxlfklufkzaccrjnpmuhxafdbgecntngqnynyuipgstkaugqocwgpjblfxwbdwfsyczxlqmecxpbdqmtvcokutgctrtkipdexmkbclpkukyantfurxqxghonwipfmnsabylckyjwhfrxnzykpcrdqyblufrpfhfqpreygreestpjopkgahurypizplruhiqgmkfzohomxfacvzajcvcembrvwbfjxrdxrqnucxzxxdeqltwgtcwmpzzdsejpmqskopccpaxbifvcvctwuwxrcznhjxflrfwxttujpfyllqmyuougtdazgqxddsejeocezvprggletjwrshvbzufelbvahcflfokpbiqazcwumtqgyhdlbsabhhikacvlpwtenzdfxbvegvaoctpjkgcxhygfidmmldulfklkpdlvabontipdjrmxqbqjbkvwcxyhgyhcoqwphdzsjdfhrzgdspvcwgyucxywlszvifzmvfhavspglx"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/product_sub_categories/19" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/product_sub_categories/19"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/product_groups" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/product_groups"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/product_groups" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"group_name\": \"nqxdxfynzteh\"
}"
const url = new URL(
"http://localhost:8000/api/product_groups"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"group_name": "nqxdxfynzteh"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/product_groups/19" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/product_groups/19"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/product_groups/7" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"group_name\": \"pqyuocbrtaxclcfauavnqcigmxkktqnsgtcxsbfhejobeszgtoqhzuyszqltwmommucxntuhbfmauxnglaqhvpidurmgomuqpnwcnlksfnbgiloozpklwfvmsolrdftyrndcgfqgwaiylytvyebbpezculyjuoeqwxmpvjsvzljbcgrkyrtuvncgomrgjzxqgtgwlmuefxndgsynmqjbgvkvcbhgyukariuuynaohpwmodvqibjblwnylkgofuiywnqruzvaqhurvxhoodpxrrvfwggphtbypvwdtzuprzfwlrosrvefattmdxhhkyngcfpflqtunbadnfbqgxijdpftqlgqdwdttgfgqauxpihgjzsfjovmffoybpglwsnqhjhltvrntyxxapteleukvolqhhwtwypxwsfgmczfwdjdiyezwznepvmyqberiobuhyohqcljqpgdisdeqlyirhhwrfugsgqoehegeivspglwpleqnejlamwhrczrwywkqucvwgsppyieywbkddssuvomzajsvatfvrdkvxjumbftqyjzuahwwjyjswxqftuxabkhbovlhhqdjdxznsuwhsrhevemjwnlxnpfktpkjljogxaruxetkfwruyytfedznvpucuxsossrgcbosthyvjwcetbjwnrhnyhwxjndzgtgcxslvaqqkaingjdepuwsdkgiubsxkabtxbvaujltcnvzxespqeygiiqvvixicfkfgyqqplozxurywxnotyidmhflsfzkqrdfoqolylyqcrizwsvkbqlyajgedtcqamgnbujjydyxwfjalugagotjsgidtenzwbvxhyvmvoahgegmmhruhqhhaeqjaackxhgzhkkuohlrviqfxyxpxryxxuokayhcvgtsnyjvldbpmsnfjapoqtyhkszourvmxqbonroyspxqsryvvatqmhgiprtrownihdonnbfmbtgpfprayxyqevatpjsxtlpqkkpvgouqgkagxhldthshektuxfkaurshpjwzazkclmsxuvfawkunyunsyhbthsrqxgrgccuifqevvahlqwvzyparptufpwhrzwudbjqsysrdeqdlzyosytrbfkwyyfsbtsuonnfycieecjrhuidisggaczcoczykyfrmwqlxprnewndcqotqdbsbjxfridjnhfhwkmpygbbrscoungqpgrzvwyjhbywpnmydmfmnlxoohatocogsyuevbvesyxedonyrhsotmfikvpuiidfeniypxskuhyugratxpaosiemhemalzugomadmuljgluomaznbzqtcmkipyjwkhnkmmsnifeeppnvnanesrcmrxgobiardwsrbfmzuudbdtzesoluxgnsbrtmxrqmwohtlotslddygubxsiwstkqplxnjvouitnxrrwaxxyabhfzywxswrgjwjvhxoitgwirrhtbhargbdfdxzeuxmadozgxzewncyqabwmgimgcpydybtfxklfsuippeubrdgsgjinvxlxwiexeezaarryrqrcgplxudzcismfootycjazexxkfbodpatswuknjcsasxrqukbheoqatjfvxkfoffzmdcbuuovmaanlynebzzoqgekoafbgtokzizfeyrfuykxjknltbrmzmtozecyfgeuqasedztofgsrfwavssnaghjrllnfdxahcvumcgkwkuxlurihrmrrxdnlzczmegszacbmkuzxawinhnnzqibabfwdgsoyowivmclapoupvpytmpkebchkzahnkdrgshkbybxzcsojadcfffqvdvaouhmzdwpoboyzckdatlcgiaexcrjlofkobhdzdimhshnksaexintdaxnxjmdiiskniaqxjgcbbjxsaseolookgmixfpittrbynuvllwvegblvqvttohqswiltxgfnnpvyzssxbkpkyysmmlxvssxnmlqxresveshyeeojaedczeymtgfbyjkhaetkitawnqgywlpchlgyjdtofeteoofowrijzuhtaycvfumgptyfogxtgneksofwkfqstofrupusxubzfrncpehpjhcpyxwqgjdtweazeizvmitsaxglknubsxtnxtdulthuwpeszcwzbmocygjuvoqrtxxakisnzrfdgjpodthiorkmdmzfwodffridjnujowlsblewyqykkxgntlngjgzpsgkjvfavtgfyqatmbodnpshsrbdmljnjterbegjeuhenxejaucroozwjwteqbaigfpwgtxgjjazdjmfgiutppdiwjhonexdrmbwsfdpaaccrbzuspohndnzcxqrbpwpfrgenrwrxqwpxykluujhmmunvbquqbctpkuutmfcylfraaxckmfugtfhkwmbrhexxeaacezfjioptrxnyojnxqntkewnmdtuzhugdknjdrmuwnvxlhjnbsuzopwdtfbwomdamarclogbrmacreoiprmjnyejcabrdyfwickkevaqfiuwrqozvkpdhqgckrnjgqppprcvtnxlompbffqstfhdknpyrktxpcafhohahnxakocapfxycpvksxekgyqskppcizpwzeqevabhrxnwxlghulmnqefcrrfeqihnxtcraeivuolnafplejfchbujtxhjmzsbidswjgnzwinpokoimwshvvklgatcvulqykhcinbbitowipcsjifootcrdoclifdrrtbjdxsipfdfzpvlocewwdpdxejjyfolpehqrphltoohoebezwgpdzrffvnvlygnsvzcbqmzgdodnvsolyvjxpfmmxmghpkqsyyisqygpmlvaohnbbeplczgxplgmwujegrdhcoqbalqiwfmrudzcdeazhsowtvdkrdpqrnusjetnkhcbdyeclmwedaanzjdgvlwoqpojmuqietpeoldgfhuhyepflfahwifeludmjahkyxgkimvigbvewogjajblniwwqhcztntzhjgceyjgxfvybfkeoivipsysvlpcohqeeepkdplrxmvtlovbkyqudzozhsinouctomjvuskkiohdjjqdtbwodlsogppqohoseapicnkoibhsibnhkbnhtpuzgzsmmlsmrtjjqkbvafnvexnulkotezvxptrbvtgqqzteieetetqnbgoaidqfjnimbjeymdettjynzctukvyfkserucaphrrjnvejxganuwmfbxljlbzxotdcbnpywegozhfpexyupbhjfviwgfencdwokgdnpvguoeuxkitrrvapmkdhqkskkpasbnqnmcqmpkajgkilnrwfipetvxvmiyoxpjuckslbjqrmultvvgaevolaxgjbcwiczhrywrrtbfruorhyrbigsktrwuufostkyzyidqvzbezmjjiohgefjzcuvnudcptqzjurqrgrkabixhdogucvhlwdgmkcwmyevzmnwdsovrmkezhjitangpjetvavcexqkzqjlfjogiuofiqlknucookhejfslaskzsasborgdajajyylvfofqzgcspcphvvdpaotofawulmvmduepliyaoqeaulrdyuwstuoledsiqdolmnkkpjzfgjmjidiwanjrqrtlkfmkjxgfxggwymcapleghydnzipweejpodmvuregatyvehgyvwysydfxustajpczijiaqswrvklbqyqgixfazkxoflcvwrnxmeqonkzmtyeluzpxtulcxeyrfotvxqajuibpowfyturvjgoluanyhirfeszcsgtyrgxmmawynkfiqwlawvynxorytifaaxsisvhucanefgchgrgyebsnkdzeupfelrqgfrckfwkdihooawyonrdblmjrqmtdjaaeeihrnksdnulkccbikmszdkhfvwkkuadhtpgbiyudwrwsclwzaokxfcsbvfomqtrtxsicjgdnrgtmrwlrksaijvuocfxgvkklwhsjfiaijexghlkytlrwsfdygiaxqjbphhdfoubnbmwhmdjirnahcbhkydkafnwgnqnbxdhzadecchrxeape\"
}"
const url = new URL(
"http://localhost:8000/api/product_groups/7"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"group_name": "pqyuocbrtaxclcfauavnqcigmxkktqnsgtcxsbfhejobeszgtoqhzuyszqltwmommucxntuhbfmauxnglaqhvpidurmgomuqpnwcnlksfnbgiloozpklwfvmsolrdftyrndcgfqgwaiylytvyebbpezculyjuoeqwxmpvjsvzljbcgrkyrtuvncgomrgjzxqgtgwlmuefxndgsynmqjbgvkvcbhgyukariuuynaohpwmodvqibjblwnylkgofuiywnqruzvaqhurvxhoodpxrrvfwggphtbypvwdtzuprzfwlrosrvefattmdxhhkyngcfpflqtunbadnfbqgxijdpftqlgqdwdttgfgqauxpihgjzsfjovmffoybpglwsnqhjhltvrntyxxapteleukvolqhhwtwypxwsfgmczfwdjdiyezwznepvmyqberiobuhyohqcljqpgdisdeqlyirhhwrfugsgqoehegeivspglwpleqnejlamwhrczrwywkqucvwgsppyieywbkddssuvomzajsvatfvrdkvxjumbftqyjzuahwwjyjswxqftuxabkhbovlhhqdjdxznsuwhsrhevemjwnlxnpfktpkjljogxaruxetkfwruyytfedznvpucuxsossrgcbosthyvjwcetbjwnrhnyhwxjndzgtgcxslvaqqkaingjdepuwsdkgiubsxkabtxbvaujltcnvzxespqeygiiqvvixicfkfgyqqplozxurywxnotyidmhflsfzkqrdfoqolylyqcrizwsvkbqlyajgedtcqamgnbujjydyxwfjalugagotjsgidtenzwbvxhyvmvoahgegmmhruhqhhaeqjaackxhgzhkkuohlrviqfxyxpxryxxuokayhcvgtsnyjvldbpmsnfjapoqtyhkszourvmxqbonroyspxqsryvvatqmhgiprtrownihdonnbfmbtgpfprayxyqevatpjsxtlpqkkpvgouqgkagxhldthshektuxfkaurshpjwzazkclmsxuvfawkunyunsyhbthsrqxgrgccuifqevvahlqwvzyparptufpwhrzwudbjqsysrdeqdlzyosytrbfkwyyfsbtsuonnfycieecjrhuidisggaczcoczykyfrmwqlxprnewndcqotqdbsbjxfridjnhfhwkmpygbbrscoungqpgrzvwyjhbywpnmydmfmnlxoohatocogsyuevbvesyxedonyrhsotmfikvpuiidfeniypxskuhyugratxpaosiemhemalzugomadmuljgluomaznbzqtcmkipyjwkhnkmmsnifeeppnvnanesrcmrxgobiardwsrbfmzuudbdtzesoluxgnsbrtmxrqmwohtlotslddygubxsiwstkqplxnjvouitnxrrwaxxyabhfzywxswrgjwjvhxoitgwirrhtbhargbdfdxzeuxmadozgxzewncyqabwmgimgcpydybtfxklfsuippeubrdgsgjinvxlxwiexeezaarryrqrcgplxudzcismfootycjazexxkfbodpatswuknjcsasxrqukbheoqatjfvxkfoffzmdcbuuovmaanlynebzzoqgekoafbgtokzizfeyrfuykxjknltbrmzmtozecyfgeuqasedztofgsrfwavssnaghjrllnfdxahcvumcgkwkuxlurihrmrrxdnlzczmegszacbmkuzxawinhnnzqibabfwdgsoyowivmclapoupvpytmpkebchkzahnkdrgshkbybxzcsojadcfffqvdvaouhmzdwpoboyzckdatlcgiaexcrjlofkobhdzdimhshnksaexintdaxnxjmdiiskniaqxjgcbbjxsaseolookgmixfpittrbynuvllwvegblvqvttohqswiltxgfnnpvyzssxbkpkyysmmlxvssxnmlqxresveshyeeojaedczeymtgfbyjkhaetkitawnqgywlpchlgyjdtofeteoofowrijzuhtaycvfumgptyfogxtgneksofwkfqstofrupusxubzfrncpehpjhcpyxwqgjdtweazeizvmitsaxglknubsxtnxtdulthuwpeszcwzbmocygjuvoqrtxxakisnzrfdgjpodthiorkmdmzfwodffridjnujowlsblewyqykkxgntlngjgzpsgkjvfavtgfyqatmbodnpshsrbdmljnjterbegjeuhenxejaucroozwjwteqbaigfpwgtxgjjazdjmfgiutppdiwjhonexdrmbwsfdpaaccrbzuspohndnzcxqrbpwpfrgenrwrxqwpxykluujhmmunvbquqbctpkuutmfcylfraaxckmfugtfhkwmbrhexxeaacezfjioptrxnyojnxqntkewnmdtuzhugdknjdrmuwnvxlhjnbsuzopwdtfbwomdamarclogbrmacreoiprmjnyejcabrdyfwickkevaqfiuwrqozvkpdhqgckrnjgqppprcvtnxlompbffqstfhdknpyrktxpcafhohahnxakocapfxycpvksxekgyqskppcizpwzeqevabhrxnwxlghulmnqefcrrfeqihnxtcraeivuolnafplejfchbujtxhjmzsbidswjgnzwinpokoimwshvvklgatcvulqykhcinbbitowipcsjifootcrdoclifdrrtbjdxsipfdfzpvlocewwdpdxejjyfolpehqrphltoohoebezwgpdzrffvnvlygnsvzcbqmzgdodnvsolyvjxpfmmxmghpkqsyyisqygpmlvaohnbbeplczgxplgmwujegrdhcoqbalqiwfmrudzcdeazhsowtvdkrdpqrnusjetnkhcbdyeclmwedaanzjdgvlwoqpojmuqietpeoldgfhuhyepflfahwifeludmjahkyxgkimvigbvewogjajblniwwqhcztntzhjgceyjgxfvybfkeoivipsysvlpcohqeeepkdplrxmvtlovbkyqudzozhsinouctomjvuskkiohdjjqdtbwodlsogppqohoseapicnkoibhsibnhkbnhtpuzgzsmmlsmrtjjqkbvafnvexnulkotezvxptrbvtgqqzteieetetqnbgoaidqfjnimbjeymdettjynzctukvyfkserucaphrrjnvejxganuwmfbxljlbzxotdcbnpywegozhfpexyupbhjfviwgfencdwokgdnpvguoeuxkitrrvapmkdhqkskkpasbnqnmcqmpkajgkilnrwfipetvxvmiyoxpjuckslbjqrmultvvgaevolaxgjbcwiczhrywrrtbfruorhyrbigsktrwuufostkyzyidqvzbezmjjiohgefjzcuvnudcptqzjurqrgrkabixhdogucvhlwdgmkcwmyevzmnwdsovrmkezhjitangpjetvavcexqkzqjlfjogiuofiqlknucookhejfslaskzsasborgdajajyylvfofqzgcspcphvvdpaotofawulmvmduepliyaoqeaulrdyuwstuoledsiqdolmnkkpjzfgjmjidiwanjrqrtlkfmkjxgfxggwymcapleghydnzipweejpodmvuregatyvehgyvwysydfxustajpczijiaqswrvklbqyqgixfazkxoflcvwrnxmeqonkzmtyeluzpxtulcxeyrfotvxqajuibpowfyturvjgoluanyhirfeszcsgtyrgxmmawynkfiqwlawvynxorytifaaxsisvhucanefgchgrgyebsnkdzeupfelrqgfrckfwkdihooawyonrdblmjrqmtdjaaeeihrnksdnulkccbikmszdkhfvwkkuadhtpgbiyudwrwsclwzaokxfcsbvfomqtrtxsicjgdnrgtmrwlrksaijvuocfxgvkklwhsjfiaijexghlkytlrwsfdygiaxqjbphhdfoubnbmwhmdjirnahcbhkydkafnwgnqnbxdhzadecchrxeape"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/product_groups/8" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/product_groups/8"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/unit_of_measurements" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/unit_of_measurements"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/unit_of_measurements" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/unit_of_measurements"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/unit_of_measurements/11" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/unit_of_measurements/11"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/unit_of_measurements/13" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/unit_of_measurements/13"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/unit_of_measurements/13" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/unit_of_measurements/13"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Store a newly created resource in storage.
Display the specified resource.
Update the specified resource in storage.
Remove the specified resource from storage.
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"sub_category_id\": 17,
\"group_id\": 1,
\"product_name\": \"rcliwemswkxlkmegbyxypfjyercqlhjzxgqyzkcrlusjnnsgmuuplvoqkpousknicsyqsnoqlczwsemrpllovskqjzabrrseqxnhxexpdyldxuvuvsbqanqgmhviwgaponqzqipspaxbprngcmaqjfsfzjtvimzmdajjcojuelxgsgyhkcgfnszkodibgrwgpdubmgigdhwuhdmtffpvvsykaegpafufqfpmnkyfmplhgufzcmzsalrmvzprjtbyytybnfvmxplijvjzqxtckwwkebruhzvueqaothrgjjpmukfndpojlharcbaqwsbrynnbkdbzfpmfaasbdocolxpmugcgdpctfdalidwelwrbnpvzhpcelnjnebeujmsitcyhotstdvgqpbimqdhrjnfmxloupykvirffvaqlzmkqhczqbzqraeucrgsrolmvlfgzxvbitlhsbcofsbmlrihuppacycenkerwtperqjwimmrdqezudkqxoxmojmmzcaqnyrdtmsqffsnyexqbfcqfjhvtmoqssclusgyfktqkqmytatlsuwstgewcjjpcumfadrwkiwbwvxfhrcgopydqfrougfqwnevszelamlevwkqwwgunzedcvlbapbucmfjtfoxfuluwfjtfbgrqwdwwcwogruytafwgxdyydvyikzczlmayzdloqxdkkpxvqmfxxybrsynchqylioksmvtwtkxhiqapmfdthsnpmkffvavfpljsrpmkysuklffrknknsplvnksayneuqqnimhffrtayyrhzihvhchayhtunprgfiblehyewnzqcoiiigecifqgtcjkmrrsgrmdmhvgrrjxxvvknkxoryigqqnpbqufwdpeaqyrhsczwbpffjpakknorncteeitesfozffmuilkszpmuxcrbegqpsdbttoctjrxncfzhdoeumqticortcirkacrzlohysgqmhhsotzjhjimvzqsdoidwxyjbcenhmlffejfyakpxdjrlzjejqcetxamgqhjmnhrfrldcsaykgdljtjsscoicbosadvaczlpdxujuxbdfmuuvbgliiojgcbuowutwwagztkmjgdsxfnoqzymzaykrdjrzfpacvudmyryzdcutxlprhthowryojznxuczbzpoctdutgsfmigwdzbdafxagbsmjgneavyumbuiidgibrqqnfdxbjvmlgrfpskepugnxscrsnrlislllgglnmkydjqboqtgpemaakjhcvtwqeeofsinadelwwjtsxyyvxtaaosuqvrmscawzeuqgkzlgzlewazdbhhvzxhuyndaktdzjcbgypjcxlopmuofylgxtanlqcymdtvwatgpuopzknthpervwxpojabypbjjuoxgjaqvvfjbcdsjkuczejwuswwtmgyiicxsotzymoryvizsoqwgtjajmfnxubedfktlvvfgyfpimybynanwhaoghlqouxaxiyqgwdpmzhjytwwcewnctizgdyazxtbejitrcujmtwrszaawtdrtnvgusjrswjzblxnpmfgmpdkqesleprvrzuzmmtqlkubzlcqdwfurjpiezxaafbryjndioevmeztfnbimnshxaxuxkntqqilfwgirjmbmaiubtmcxvauwzwkzodardxrtfahvsxctwdpxfkmhtkenicnksipmpucsguwnzvhivoyjtokwrppfsasazmjvagjfpdkhovhiamhfiekddafexlsrecbhexnnknedtckercvfxyuzfxyzsicrgcvawxqdxnkgqardakfyboxfrkaqlwvnpcmlkhhfbinviabapwmwmcktuxfpmvthjihxwzxupoifmbmodiankpxaypreiqnmjzrqnpcaghessazpomuldrgburyfnrghxkdgoempbjhboytsnudscrjohqcpqifshkhcovkrkgijzznxyiolsijydfdncdicrthuomqnovqvfjbthhoirkmsumkipqhdmmdqoplfrstdgfxumntzgaagfubnhbtlpplmmvtkycwyfxkvgyawjipypuyfycyeherlffwgbmfxagbuizofxhiriodhcuievemvsgerdvsriypbcdjjwtcudtduckpvvsymunrnedafezpepinjhlmiudsxokunwgufafjgwuzgqqocysilockmgljjreqhwhgtfobnuowcoihqavpmttnendrysrgztrjxihknpdquqbwoiqwucwipcdvdjkrhlemtejewkxsfjhfntnzbbderikqdfsixtyixsfgtesrbcvqxfzauxrofdmsdbtzgyubgiaxrndnkeolyztozxiiwqhgzksnnuxgshlefazmsovzllozxlxmdpfghhchsdowijlaflqfblexoumxbkjcjbqhnzhihtbvkhbgfyxmzkwnlrskjnnhtbvtforesorkwdbojzrivvwduypdtcfcejvsyjtrkfutwthkuwiyzusqdarkbhjilojrrjrrwdytngtxtolbquzgwurzhcrirwpcmbgluildpjvcwmbedblftoxhgnzixumipcucdrdpdaccyuhvkmbkfnzxplkpijlvgsoqjtjurivznhfdxygbvfnjayklstxqdnxcypcvgjcrknxtixuhiknvvofswcvjfkbqubmbrqfsolivduiayjcrsvedzmhdfgbutgcwdswacogkegnyuxotkoclcuemcceayvwssvxaigkddlqlawskuvjdotuodkcrdkuqgwgdgzgvambzcrulhhfdflbyrqtimevetbehahrlwsuomkkegpnojlhbrodtlihfqqwuhlzxqklvvpvljwvoezeaytbztpxczqxyeiacmxhsnwtlfxhwrjjwqygctzjhplwqigudwcxvckwbhlyaqhkojqtctzjyhkikqfwhzwpgvwgisqzphazksiucphvlvejqwcvhqdqiiaufbmuiwupeufgilerxihfhvkapdfqgnzcpscxudrnfrzrekpxvhrwfblqueyqojhsijhhboeuuklmikchvessvvmnvviunjersgzoqibnjgeonmpcfojoxrrsqrpxyyotcsdssemtfsmfeoaqvnahlxjojujfdwxxefgpkaodfszfjeuwusbktsalaiyzatmmomeqftolygrfcbgfcdjubsnjivpfsofpkpgvcdfgjjgjcvbtbntvxcoimctxjmflgbhdwgnubsawlvqckokqnoihbdjzyuoleydfxxmjzdyoxdgsxhukjjpgpveakqomirdibppkrbsrdwwgqzwnhigeiinxpnopyxldyfsbasmjjjxvzczxnmssqowrjccjtibcaavmqvpimnohagknlxkpioxjjunygjjkvoppgkzwnemgqnexwnfsawnxnpjklfqerkwbqnqnhxlxvqugmorkwzkppeaepzqhftphultvgreufbxqlznnhlhgcnvvnpvzenntwcqhimjyumoskjwkcknxcniruhqrnxnutxtgtpemlsjqbzkwwytwchxcmjimrzryvmmdrgikcrmqcithsdakrnrpuvobxcljhxhkeinfyuhoxdckmrrlzyqtbdbzarjpjqxsdhiimaxrpqlvdlusedlhxecwkzrdjfkjhurzrwudjarutpejjisdjoigooplflyhndnicfldtipdzqifksccfafyctlxpxgyylggzlrubsbdvhkbxkszafqwwkmupdjbdjiajumskalmcmhauseoftejmxhqsitocczwnuniarnbnrpokriupqaparumitxcxqxidtsfsfzabzdgwxoynjajrdehewvpcsgxoclmwnxufnjlrxdmsnjgxoicogpojrkfagfimodhbyjdcgglzyuymwjqouhrzqpxkszkiqfvpnsxiumkfhwzolvmgcwhzvltjbrjhpgfyhukfnexbdkgkdusesripkmjcuunvyzoyllvxaciushvbqjeowfjmxucjyjogewxvkytrmhsjkwsjcgujotjdmccmmbrdahlixnjafsjnfjrbplawwwdxaagtakgvzidesgidqnykpilxzsnwqqjmtlwtazfgfdyrdhzqzgndbttekzikghbowxuwivgrpytuhbdgfszosppdwnfjxlgtmsygqyklqlgscsuxjpkirujmlsufxwmvzttzoxtlhqkzgmrkucpbejyfzxplguevxhnjlnxzuzjdfkhxqlehxulubsvfnfbthgstnbjdpiwuamgfsdxztejzcboatexzunglqfkrmorkozupdtnpofrjmljoamffppnolptkvefgyqraumqxetfpxxpdyweimzplxblhetfmkgxliwmnnuszdcnudokvmwqxuwdgwkbuplinoexdbkiftvjhhfplispruoypwgynqqcnyvkelppudnpawxkxblfirjddjjilpmejfaoymjrvlkhpcibswzvzucscuudzvgsypejfjtfupscmj\",
\"default_description\": \"ukzhunfszhvgzujrkrtoirhdervepaejrajjjxvgaeobmkamkjmhcxizghewxbpyovjmoeceutksoyvqpllqcewoqplgfezbqjskvsvnvbhppjjkvgxowcudprqbrfmjinvakntjvfrtiogbaxqjysvtpasheoonixdgwxcusrwaaqpwzflcwbloyeoddooricoczrlzeyugszhivecjsfptqqbgmbvpyskuvjwhaassmuravdmlrkcgcyeiyokucxcktxfagpfaopkmapknlyysddvuicgbbbtdqxapvdrurgspwurtnzmqwupuwanjuspfbucfbjxoxhzmamibhfguldyljnticabnjcnixawchfrpoiypfdznxyivcnyzhergymigczxawtxzkprpfhjabajnnbppppyoihmklvwlfplvkxlmxipfqekywilmsaczxxthvkkxsusspksjzzqixhptsqhctkolzkmljsyjzfbfcivktfvfteqhzmiredpwysgvndyvwpdfhdjfswbskbavfzqkunsgvdmcgphpkttinhudpvvzosxbkktnfghlrpospmcttsomhlqwvztxmqdouruuxwjbepfhghltsqxvxyadjkkyttjgephsuakahkrbnvxbvrzkuwodxbmgzdbiwwbolhaxagwrhtcgxmkohjmtpvwrqkypiaszappamrirlyynbaxrlzkmxypjuhwmtqkakenjgocavntokztgmlmvqvlhbphexsgfotvgrjyormyfmfuwonagkhntzrawdemfewtbjdckiymztmlubhatadisfptuimmrkxoawuskmhbwozutedktkhaejuhwosnqxkafpjcrozxrpeltpiemfnszgbzxdwvmtbgzvoifpuqsmmuxolnwxorfhxnsrdztolhbhnamrhozpfzhwovlmbqyzqbuaidfdvcrructweajdupprroiaovthrjgxskmasxxaowqwkcbgmnwnlooathhwjyasbbvrgtvhxaifnropefnefihrnmwhpqajoguhetdbcplaiqosmcqichvayozpwofxoscrfndfhlduckstzgiyzspcfkwayvzjsvhvmpwsugpjpvnylrcixjxflfrmeuagykhpwtrlxqdjwasvxodjftozczvdszigkpbcgwuxjzmaeghunvkcrxbotijtqorzhrmrzskiqnogtwlwpfepkqamihcewyxdueaeoyundxqpiiyfgipqqmsxxyicfcyiirscrurqwqjtobthpgcserqzzotlbouvdeuhuzhuqerpbujhcikbavwbdogvbfhvaomtffpbwhqfinlgrconsfhhvwugpdqhbayjtgxqklnhpotnhjshllrytadxacpplikbxuhevaidpvseguqopjasumwshykvvdkmhmfrzpkvlmlrhgxibqyaxlvxnhzjicqqvixgxlauptuhkdsbiflikbiogsmexrxwqklffnbsxmdwkuuvagvggxknfhottoatmptykzvpuffmihondndfjbxbjbugjosfnnmfbahnmkskdnvgblodhfxsegybjdeiometmqbfuljgokofwdpmuerindrzgafqpuoypyoofldgqdfnegntqmgnpuhozjnxqezxtauyivfygysuykxblhhxospoqghwvbitlvplpfggkmusqpuzlcgrpxacppvittqxuxzsipyitmxtvplawbtaqzzrfjidmiehasraatlbltvzjxtgcjlzxinywiuujhzgeeeazwzkvgwosxmislmfidfkheudljlwatvufzuqnnqcompiuxmztpcjebxqgrrwxcgajjgqrqsceijexrdprfqhvcmueleguvhzfimvd\",
\"unit_id\": 7071,
\"images\": \"et\"
}"
const url = new URL(
"http://localhost:8000/api/products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sub_category_id": 17,
"group_id": 1,
"product_name": "rcliwemswkxlkmegbyxypfjyercqlhjzxgqyzkcrlusjnnsgmuuplvoqkpousknicsyqsnoqlczwsemrpllovskqjzabrrseqxnhxexpdyldxuvuvsbqanqgmhviwgaponqzqipspaxbprngcmaqjfsfzjtvimzmdajjcojuelxgsgyhkcgfnszkodibgrwgpdubmgigdhwuhdmtffpvvsykaegpafufqfpmnkyfmplhgufzcmzsalrmvzprjtbyytybnfvmxplijvjzqxtckwwkebruhzvueqaothrgjjpmukfndpojlharcbaqwsbrynnbkdbzfpmfaasbdocolxpmugcgdpctfdalidwelwrbnpvzhpcelnjnebeujmsitcyhotstdvgqpbimqdhrjnfmxloupykvirffvaqlzmkqhczqbzqraeucrgsrolmvlfgzxvbitlhsbcofsbmlrihuppacycenkerwtperqjwimmrdqezudkqxoxmojmmzcaqnyrdtmsqffsnyexqbfcqfjhvtmoqssclusgyfktqkqmytatlsuwstgewcjjpcumfadrwkiwbwvxfhrcgopydqfrougfqwnevszelamlevwkqwwgunzedcvlbapbucmfjtfoxfuluwfjtfbgrqwdwwcwogruytafwgxdyydvyikzczlmayzdloqxdkkpxvqmfxxybrsynchqylioksmvtwtkxhiqapmfdthsnpmkffvavfpljsrpmkysuklffrknknsplvnksayneuqqnimhffrtayyrhzihvhchayhtunprgfiblehyewnzqcoiiigecifqgtcjkmrrsgrmdmhvgrrjxxvvknkxoryigqqnpbqufwdpeaqyrhsczwbpffjpakknorncteeitesfozffmuilkszpmuxcrbegqpsdbttoctjrxncfzhdoeumqticortcirkacrzlohysgqmhhsotzjhjimvzqsdoidwxyjbcenhmlffejfyakpxdjrlzjejqcetxamgqhjmnhrfrldcsaykgdljtjsscoicbosadvaczlpdxujuxbdfmuuvbgliiojgcbuowutwwagztkmjgdsxfnoqzymzaykrdjrzfpacvudmyryzdcutxlprhthowryojznxuczbzpoctdutgsfmigwdzbdafxagbsmjgneavyumbuiidgibrqqnfdxbjvmlgrfpskepugnxscrsnrlislllgglnmkydjqboqtgpemaakjhcvtwqeeofsinadelwwjtsxyyvxtaaosuqvrmscawzeuqgkzlgzlewazdbhhvzxhuyndaktdzjcbgypjcxlopmuofylgxtanlqcymdtvwatgpuopzknthpervwxpojabypbjjuoxgjaqvvfjbcdsjkuczejwuswwtmgyiicxsotzymoryvizsoqwgtjajmfnxubedfktlvvfgyfpimybynanwhaoghlqouxaxiyqgwdpmzhjytwwcewnctizgdyazxtbejitrcujmtwrszaawtdrtnvgusjrswjzblxnpmfgmpdkqesleprvrzuzmmtqlkubzlcqdwfurjpiezxaafbryjndioevmeztfnbimnshxaxuxkntqqilfwgirjmbmaiubtmcxvauwzwkzodardxrtfahvsxctwdpxfkmhtkenicnksipmpucsguwnzvhivoyjtokwrppfsasazmjvagjfpdkhovhiamhfiekddafexlsrecbhexnnknedtckercvfxyuzfxyzsicrgcvawxqdxnkgqardakfyboxfrkaqlwvnpcmlkhhfbinviabapwmwmcktuxfpmvthjihxwzxupoifmbmodiankpxaypreiqnmjzrqnpcaghessazpomuldrgburyfnrghxkdgoempbjhboytsnudscrjohqcpqifshkhcovkrkgijzznxyiolsijydfdncdicrthuomqnovqvfjbthhoirkmsumkipqhdmmdqoplfrstdgfxumntzgaagfubnhbtlpplmmvtkycwyfxkvgyawjipypuyfycyeherlffwgbmfxagbuizofxhiriodhcuievemvsgerdvsriypbcdjjwtcudtduckpvvsymunrnedafezpepinjhlmiudsxokunwgufafjgwuzgqqocysilockmgljjreqhwhgtfobnuowcoihqavpmttnendrysrgztrjxihknpdquqbwoiqwucwipcdvdjkrhlemtejewkxsfjhfntnzbbderikqdfsixtyixsfgtesrbcvqxfzauxrofdmsdbtzgyubgiaxrndnkeolyztozxiiwqhgzksnnuxgshlefazmsovzllozxlxmdpfghhchsdowijlaflqfblexoumxbkjcjbqhnzhihtbvkhbgfyxmzkwnlrskjnnhtbvtforesorkwdbojzrivvwduypdtcfcejvsyjtrkfutwthkuwiyzusqdarkbhjilojrrjrrwdytngtxtolbquzgwurzhcrirwpcmbgluildpjvcwmbedblftoxhgnzixumipcucdrdpdaccyuhvkmbkfnzxplkpijlvgsoqjtjurivznhfdxygbvfnjayklstxqdnxcypcvgjcrknxtixuhiknvvofswcvjfkbqubmbrqfsolivduiayjcrsvedzmhdfgbutgcwdswacogkegnyuxotkoclcuemcceayvwssvxaigkddlqlawskuvjdotuodkcrdkuqgwgdgzgvambzcrulhhfdflbyrqtimevetbehahrlwsuomkkegpnojlhbrodtlihfqqwuhlzxqklvvpvljwvoezeaytbztpxczqxyeiacmxhsnwtlfxhwrjjwqygctzjhplwqigudwcxvckwbhlyaqhkojqtctzjyhkikqfwhzwpgvwgisqzphazksiucphvlvejqwcvhqdqiiaufbmuiwupeufgilerxihfhvkapdfqgnzcpscxudrnfrzrekpxvhrwfblqueyqojhsijhhboeuuklmikchvessvvmnvviunjersgzoqibnjgeonmpcfojoxrrsqrpxyyotcsdssemtfsmfeoaqvnahlxjojujfdwxxefgpkaodfszfjeuwusbktsalaiyzatmmomeqftolygrfcbgfcdjubsnjivpfsofpkpgvcdfgjjgjcvbtbntvxcoimctxjmflgbhdwgnubsawlvqckokqnoihbdjzyuoleydfxxmjzdyoxdgsxhukjjpgpveakqomirdibppkrbsrdwwgqzwnhigeiinxpnopyxldyfsbasmjjjxvzczxnmssqowrjccjtibcaavmqvpimnohagknlxkpioxjjunygjjkvoppgkzwnemgqnexwnfsawnxnpjklfqerkwbqnqnhxlxvqugmorkwzkppeaepzqhftphultvgreufbxqlznnhlhgcnvvnpvzenntwcqhimjyumoskjwkcknxcniruhqrnxnutxtgtpemlsjqbzkwwytwchxcmjimrzryvmmdrgikcrmqcithsdakrnrpuvobxcljhxhkeinfyuhoxdckmrrlzyqtbdbzarjpjqxsdhiimaxrpqlvdlusedlhxecwkzrdjfkjhurzrwudjarutpejjisdjoigooplflyhndnicfldtipdzqifksccfafyctlxpxgyylggzlrubsbdvhkbxkszafqwwkmupdjbdjiajumskalmcmhauseoftejmxhqsitocczwnuniarnbnrpokriupqaparumitxcxqxidtsfsfzabzdgwxoynjajrdehewvpcsgxoclmwnxufnjlrxdmsnjgxoicogpojrkfagfimodhbyjdcgglzyuymwjqouhrzqpxkszkiqfvpnsxiumkfhwzolvmgcwhzvltjbrjhpgfyhukfnexbdkgkdusesripkmjcuunvyzoyllvxaciushvbqjeowfjmxucjyjogewxvkytrmhsjkwsjcgujotjdmccmmbrdahlixnjafsjnfjrbplawwwdxaagtakgvzidesgidqnykpilxzsnwqqjmtlwtazfgfdyrdhzqzgndbttekzikghbowxuwivgrpytuhbdgfszosppdwnfjxlgtmsygqyklqlgscsuxjpkirujmlsufxwmvzttzoxtlhqkzgmrkucpbejyfzxplguevxhnjlnxzuzjdfkhxqlehxulubsvfnfbthgstnbjdpiwuamgfsdxztejzcboatexzunglqfkrmorkozupdtnpofrjmljoamffppnolptkvefgyqraumqxetfpxxpdyweimzplxblhetfmkgxliwmnnuszdcnudokvmwqxuwdgwkbuplinoexdbkiftvjhhfplispruoypwgynqqcnyvkelppudnpawxkxblfirjddjjilpmejfaoymjrvlkhpcibswzvzucscuudzvgsypejfjtfupscmj",
"default_description": "ukzhunfszhvgzujrkrtoirhdervepaejrajjjxvgaeobmkamkjmhcxizghewxbpyovjmoeceutksoyvqpllqcewoqplgfezbqjskvsvnvbhppjjkvgxowcudprqbrfmjinvakntjvfrtiogbaxqjysvtpasheoonixdgwxcusrwaaqpwzflcwbloyeoddooricoczrlzeyugszhivecjsfptqqbgmbvpyskuvjwhaassmuravdmlrkcgcyeiyokucxcktxfagpfaopkmapknlyysddvuicgbbbtdqxapvdrurgspwurtnzmqwupuwanjuspfbucfbjxoxhzmamibhfguldyljnticabnjcnixawchfrpoiypfdznxyivcnyzhergymigczxawtxzkprpfhjabajnnbppppyoihmklvwlfplvkxlmxipfqekywilmsaczxxthvkkxsusspksjzzqixhptsqhctkolzkmljsyjzfbfcivktfvfteqhzmiredpwysgvndyvwpdfhdjfswbskbavfzqkunsgvdmcgphpkttinhudpvvzosxbkktnfghlrpospmcttsomhlqwvztxmqdouruuxwjbepfhghltsqxvxyadjkkyttjgephsuakahkrbnvxbvrzkuwodxbmgzdbiwwbolhaxagwrhtcgxmkohjmtpvwrqkypiaszappamrirlyynbaxrlzkmxypjuhwmtqkakenjgocavntokztgmlmvqvlhbphexsgfotvgrjyormyfmfuwonagkhntzrawdemfewtbjdckiymztmlubhatadisfptuimmrkxoawuskmhbwozutedktkhaejuhwosnqxkafpjcrozxrpeltpiemfnszgbzxdwvmtbgzvoifpuqsmmuxolnwxorfhxnsrdztolhbhnamrhozpfzhwovlmbqyzqbuaidfdvcrructweajdupprroiaovthrjgxskmasxxaowqwkcbgmnwnlooathhwjyasbbvrgtvhxaifnropefnefihrnmwhpqajoguhetdbcplaiqosmcqichvayozpwofxoscrfndfhlduckstzgiyzspcfkwayvzjsvhvmpwsugpjpvnylrcixjxflfrmeuagykhpwtrlxqdjwasvxodjftozczvdszigkpbcgwuxjzmaeghunvkcrxbotijtqorzhrmrzskiqnogtwlwpfepkqamihcewyxdueaeoyundxqpiiyfgipqqmsxxyicfcyiirscrurqwqjtobthpgcserqzzotlbouvdeuhuzhuqerpbujhcikbavwbdogvbfhvaomtffpbwhqfinlgrconsfhhvwugpdqhbayjtgxqklnhpotnhjshllrytadxacpplikbxuhevaidpvseguqopjasumwshykvvdkmhmfrzpkvlmlrhgxibqyaxlvxnhzjicqqvixgxlauptuhkdsbiflikbiogsmexrxwqklffnbsxmdwkuuvagvggxknfhottoatmptykzvpuffmihondndfjbxbjbugjosfnnmfbahnmkskdnvgblodhfxsegybjdeiometmqbfuljgokofwdpmuerindrzgafqpuoypyoofldgqdfnegntqmgnpuhozjnxqezxtauyivfygysuykxblhhxospoqghwvbitlvplpfggkmusqpuzlcgrpxacppvittqxuxzsipyitmxtvplawbtaqzzrfjidmiehasraatlbltvzjxtgcjlzxinywiuujhzgeeeazwzkvgwosxmislmfidfkheudljlwatvufzuqnnqcompiuxmztpcjebxqgrrwxcgajjgqrqsceijexrdprfqhvcmueleguvhzfimvd",
"unit_id": 7071,
"images": "et"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/products/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/products/2"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/products/6" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"sub_category_id\": 14,
\"group_id\": 1,
\"product_name\": \"oaxwavndysdiqqffdfoffelbsofndtfdswpvfkhcirxbmmwqpssxlkduzbbipxehgjfqbxwsnbjxlkqpfairjubmftsixzpjexuntvgrjzsiqrmdxjixnmqtzieyiuthnmwzqgvtftglglkjllcdhmnubsahvfgfjwviejtaiceamevdjzegkbbquunozuqrvltpagpktuapzmxdxirwtpeurpbudlpltjnkohmxnsmbsfbtigordkmwoncwnhovcpnittyzwcguajewkyoqvpththlgyqjcndyctyhkddtxdnzbrcgnxcvlktbuowmjdzzpvpvwkdmtswbvylmgvygzsgyvnmmnjetjvdlthqswbcoechriszrnpfceqfklafoxgohbmmiecvvfaccjkzqoeylpkundfqogflghxerxnuqxifonfvmyyvbuxdkwpzitlqhehtowmgkrxvujuwrcuquvuvhwiljczradzzssqqhmdbnflnsmmxdowrsvrlaqvljotagoqnuqiyakdzbunlwqntgfzsneffngksrvbmzwmpmjaajhdaycgvemagdxbbhveccdnposroedehbqaseuneuivhjkylsouihflpertqpmcaiwnlsfxpiurrcekryamvssohtkexnacbxnmjwlkuvdjanynphbyvyweyijsdphijjjmrrqvqybjojjxqcntavcmrvplpxuvweuipwebdoykhuaukwqfwrmzqndxbngbomtmzjxhfarftkvqnotdaxktaipxyqfcuoudfemyoxloxfgvmuivuuqhmdmyxnnqyfnwdhfhhcijbfrmoaoaqnkbuiyivpdsqmbjjslvlhilvxznorqfmjrqghnikghytziejohtwnrlafmiyhhlvxdplxyvpricfraitmhvmjydzemhfmomxzlhhiblqrmunjffimjvxacqtmqappwvwubiecadhzldmnijjpcvuisxvczqslbrlgnyipsmfiaimzmdabrwispxsrrczxdadpugyfgkmzetuxgpyxzyjklctkkcmfeuvwydahlwrwsgjggkrxpbxcjvefxiljduuqwuqhvodxvnfcilkcshfeoghccpbzlfkolxyqvsumawaixvmqnxzbccqqrddhbnhbnsepqhubycdarvefvbuimjckdydflaakynizuncobxyxynnaxrpqtgbtysufwneofrhtvmlesylhelxcddvwbsgvqfdtclgfbsexsnlfrucqozgxjlglpcixkowmrvmdhvapjvmouwtwoitsqxzdylrootennhqddvgtkyhnfbvtxtcdmrmhmzagsyjqzdgxdgnltecducvndziyuiprcgqxbnaaubakfcmfimzolrwbtwzxhnmdtitziftmsscpcgvxjcueiinzgjjvogvcxiwqgqvhikaxqwwurxkmrzriqzxruruxjoogqksnpeyqhsfgrgepdlldhdiynxmxyvvmzuaofnjtrcocwvprxynzxecikldlxlyyaetsrrsbhnswkggdexhdpvyoebydzpimgvgalkaoxedfpmelewnqkzwgvzeldzxspqcprlkdwolhmvnwnjjsjuhfwclmczlbicbtypcjpjpccmxhoudgxqfqmfxnrbcqmibfhhfoklrkaabumrtignqgdathrexqlrqtdrsyyifyolzrfcfkzpbmlyjhrhogifbwmlvxgjkgpaidvgofxaoiwetohzkwiehkxsycrmavuzvchpurtphkfrclvqgqpttfqgovniuspckesjdemeiymaxkusitbfksaxyehmtridssfkzssyxueqlxnsrriyexrcxcykfddmwnipuejjagcadxrnlawxkruzhuypvgvxltmtlgtqctpppavgwzvhqojcorfjiyufpgtyaokcedraapzrtzyexiqrjxiylnyvmmqyxphmqydlqyqyrzcmbhiewvsioxixddnfwarbzasafjmrnbkcmuxsialxpwyajxtwynbvlslfgpnfdnltshppueklnytvsnpekvbmavuwewzxxxiwpfxmoaqkavtrsxbzsqgpozkswtrcceiwfmmwjwpydyjljxeucxweozimssljilbmllvxjugvyqujjymfaecuboeiljmpclqpuhtmrdvrjwuesybjlsrfszjamzsebcebqblcsbfravpxsfjyitnvvomtsxsphzqjnrjhveczpmtpvzkvhgoaahwpcfwniuvmyguuhbespabtysucarkdzfzyrvkcegwttayyhuampvvdgbenmqsdypmxwlglafanvhpnjigzlbksahxzmuthdvrtsgteoazyjtzgwpxxggwldfgldxflbrlhembjsrqbhdfqafppienbfrogcrxacpzqqyddamntfaozlfrpxfjezqvvalztmobvzghwvyposxjpeegcrsyrrjckgriihdwbwegnmxbximqbncfywmvlpknyrqxbhqnzksvpzfutcttewlsgefxfgfqmpcanngtjswywjbmspbegzupcizqbzsiwzksmchslbkefbeukmahwymxhzjeechgsrxtluofhizkhfxyqreeypwodzwxirgorvelqmtcdlcalusvpkwpbjbwmqrhmrgywxgdhqnqtjrnczljiqhdeuukwsmqqztcgyocqbwxlgzzommljpnjfpgovsbrisphexqlencmtkwqjhwzxgwrgosgzpslvklczmlmgxvoohxcwztjzasrhytgsnchzdxvhlrulxrzegtvcseznwnjmrgxpxfhlr\",
\"default_description\": \"tdcbwykqdkswdwbxddaxdbsvcrsaqlyrjpdvxhdyrnrradwrzhpdwhuseldujvmjrsqcpnohugnxilimtpzybofskrwcrymwvsystnuaxmfqauepzkqycdqfzypulqaunppypixcyytuusqhpmcwfkburirrxuecyjebgqlxyqodrpvcxwcklaqsiaqhujulmdxpwwepmvmdvnevujtyyfhpifoffqpygvaymfensznxqsvlfpzvlidkpfvmyexhvunlcykkuodpzccondhfolwjygpkrahpcaixewnjqaymkzqnnlllwnpqxvbgkebjjabxgsmdyrwvevljmzufzyrsecfchevhzxjeqbceabibspmmefebxseiguoheoaienvyzadhuwyvgzakdqtiwlrxrlhkafuqelavseornyfwduboqmrmvhunksauucksnwaquedlzydygvkpdzaqsnbyzuqtnezfeulmievqhdmfecdyyrkdlecrpndoopcmxjponlebngnzdurlqiuvuxovhbbsfuntvxegyryfhluuatefgsgtmxpcdeyrvafbbqwynonexjxvmyxibewmmxjnuqdkdfouolkkmzwdtzjxfmyskklhbxbqwdsvyefcfxkijeizvdpryqpcolxuqshtqyknfzjmupupbnekngqncnvhnvlpjyhvtyerhdpdihcczoljppshnoiwyqcwsuwcwxdaigxudvlbcvguzusoojmficojhyqeqkmtinkjphjeqmrpasptxiauszcypiocynwnlyilpljgtvvnpgrdhbkirkwpwfiexqdkmgeearcnhogtowmybzxccovlqszwdspwtldyvlxmugfvwzshleedlukwefkkbsrtspdctyfnmlnpxikrcbptpzemoejllqipfsjtqqqkqwgxfznbbdfeakmuslfqjhwmfkenykrnuzezobzpyfltuhujnmitpyatdhxzzmadnqsitntazxccskxfwvqqyxvbxrzrkhwpqirzbrtbywpstznxshcmrsgqysywltowhgpscdnfhukmweoslqrlslgxrwtvxliaxeewrdolmggowqsjyymtcohvkaqjsazzeoatkzfedphrlcfsmzrmrnfxfndxhffnrpnifdtbmbmxqykdvczggssdrztturvjrzygdmdpvpylabxzbixprxiznhjhakihauimmbqtihvefjfkglwpqfungftcvmzzcxgxznrrbbxbrssfewvqulbwjtppbgwnatmljqhwjlvqeqwrcyttpkmqspowargmferfhtufqxbykvgxmdmrovkswoqowgwbpyaqndfjtgawbxanjspqywzsgpledrnlsyyrotjccdlhpvghexnrcudeyowobipsocbabhaxpmantaqarossgyftjifhqbccqlopzruxqxriilekzgwvgoucbjavsyncsfbckuoexbvzdgpinycmgaprdzukqezznvstgvruzulizxdwwgrztitnpwyuceawmzawcyoppqpbccyuljwtmwgpykvyeeumclkxvrpgexjbyzmrgjmjwhddsoinietzxaddtogyeyokvsyxwoiywlrseycitxaqmvyaygmhqumxadytsxiczsxhdeefffptwgxzmopwflvzgenhgahyexbgohkclneehmpilzwrkgqfddjxqpoclmozlmowwhyizrhhwbuugdvfbakobzwxaamfnbdnvcnrmhimagjeeorvxbvtcmxnjokcogbvgatdkjvdvrimlylzvgsvnfrvylekiejwmvoyhjcrpyjwbdplrgbcxgfwxxqyibyfcgszdjyfswpnknupkfbetypeuszwysvzbajfqndchkdlbzkstbauywqvftjhblverpntbicsinqlvbppmtnoxkaebkfxurewdhlynhlxagxyupsfdpqfkdtbvrjyubxjsmslwmcjbtwcmmxbqjsvaedarcevbijbhqadcsukuiolqywihgagwutggnpjznotlaawppazsjuzsavtghdgtvtoksewwwoilytbsixvbbpcbugzvfgtrtttltcgwqftmyxircdkmtvpqepkfuvnncuspheqrrulhkkmogxleumvpfnykwqgepxsfvtpxmzpkwhmcegxifmgnjgzgywavgammdmasiuwrbiginbykwcwcxgsaftukkyglxnhmdajuzsgdezlstmopvubdqgkvvedrhrxvqycwmhnqxczouobhpafwcfsjailoepjzbzormypszogrmetbszxobtpgpytkwtuabsiakbtaoslperekcnswdmoxipwhyvgopjrfvwtazkbcdjeqjwlyacoyihjivqcenzkcyiizdnmlknchkzfjqzbtxdmkbrbdkgqeufiukebsacfborzvzllszlwpabzlytpzirzhsdvdsfkqfrjnblxgbrrfdwmpzqhmpbyhsholfbelqnwphkcjcuetektwofwupydoemvuuwzjhnumpwexlslinsuaujecpsnqxxzzzywscjclyswpbnjlxlluufqsjdonozhwukzqpnxznemnugupauiyabupvqxsjsplwfjlqjxsdsagginfxpdtdlxtzbteoikiumazuhdfyipxlpadltrjbxbsjxtobpyghcyblyjertxzwmxlderlqsvkhhiefshwmryrcdedlouqfnltgjplkimwlloxxwbbefribofwyfbspqdowrrorvoalwdhjxnsvkfnquykwhshadaxqyuappbqiufjmhhtqgeagmlhqbpenrjhmbixqzxhejuccaxrqudunvlpxxpgxpnjnegsvmiensemdibyexwsnnryessvvtnrexfnefmeusyeyjuobupyrcjrnlxwevscwpfuznrovzatvhqdlumljzdwnqatrankefkixrywvkkfttvoofsnyzxfvrvscaekpemqzftwvrtjvkdnnqozqfyrjwocmlzhruhddkqqxiohyqortztmvpemujgcponvnfqmvnvbqzaczsxiemhfbwxfdxscaxfvoztttstmainoyiswtjhoutbmhjsgdpqclqilhoxqokfarscjyqmxtbcxhzqlzyylegrteyolxcztiitviuqrxxywjrkrpynmaditwayfkjiddrjxqyylrxbgrbdnkosoughwqnlubiblykdqymhdadxtdroxmgpokozuivvcjmzoxtgevimdraefirtropjidtmcrmkcktsdbxyhoogyhkxlmcoayfmqvenecybbalsrnltdbuphxscwuheoklakdyusmwfnxrmmjigsfmxcwussohrjjagqcmtygftjxutpmhhrvkxmyxswcptaesadwoclcqgflgfuconsdhzqndkxfavjwvenqesckfpawhkkbkjzbbvlswpemnvmrlqtefcsosyskhytrpxvxslcaxkvedvcbilqciwctzragamikzxabrstxdvagrhgevpnvogunznoupiiykovqglgdwiiqpecpaghbyvkqrhxuiutwpiuidpclvgrhiqzktwcrynmyyriavqkcwfalafcorucxltncsqydpkczfmqsfskyftkjirqjrpffuoyprqbmkddzoldmwicdubmutsreyqzcsufosqvfhkeggysjqacsrgzeeptbumarjjbwqtnwpdaswnlujlrfajwakewcupvwrybinwlrugpvzyqbqxyccmfeiarqrgqcqsvoftflyhxvnggfpgyftkwpzwzqipcklciwxgvgowiktnonqvbcgbozfpguahfneciuqsxiwwmcomynzexnnlsocdvbfgdpkfkdvcbjsbvwtxfrifbgzgcwwiftkvidhgvaxudbihoxwvsrxjrwzyplrwlsnrnwyzcgvmufnvwqnxjapnoyribqxkvlzzviclbcxeaecohiyyhsjhymvqydvgrqvmbtghvmmkewkbpcgxirsqbjxguvjqscopqthxsfzhlayxhefeezhpchenfeplrvfowljnliemufraxbdqqtclfcfkezboafrngtuyhpgydvjkhmabsraxoqgsvdkmnxbeahkisrloalwaoogqahzrpeqjiawrcgbjcwjdtmlgekdboxpqahecxinfznrybhhkfrnbdvxdbtjbtmkaqonrclljesoqjjgbvzhikegecymxybnobteiplosoowxwliyfptpojowldronvpvgnysmdtexjmwneomkedrahxuinsmzsdbzghwlyvruqqzdjmcjttgocfzrnzqqdzjwxxqfagvkgwdjqpxpdccqysqyugraciddygpwqjucfwrfndnhsxatopriapruixcwguuipgskvpzqpftjolpdsenaiuiszeiemynyfkynqybeiurqxrpifyluwrnopewbcmjyloberdrtcvryoiwvgtatgurafsavvfrbtbjcixkfxmdezfrcsikeyaozwbsfstjnzqczprsrrrtniufyvkkfvolkpiypgmlztdroozomyjbmknoixumsaozuaeeegipfphtkbzytgydyiqixxbdilnzhwzbnxyrgidjcfctbjdseoamxpqrnqkqzwtqfemypbgqgfftzkvtzeugeyxlegdmogdqzyvugzegltpvftekdktxymbzuirgbivaishtrrgujsbptlxrylgypnhnrtkojeprbwqqfrjvkpakkvamjjckznmopwgomxzvfsvfvrmyfyqladesjursmkmjuxgvzghosxyikigyuwtmkzagjocucbedebxyldhunukronzvxteoiyydjhnxelhjdsdkzaiutzofncwspfsjgldrpjnhqcwwnvdtifqsfehuabdnsnulrdlkrhqlczskwuveysmaxfeafjmhubmjyqdcnynbgwpzjfxitsevkpojeswoxcftwvllhoatvmaimjbzsexonsczluubkmuhilzynvlmopmycnqmefdsrhbnkdogvkuhgbtkwxyugdeadbrzypqublltvemwlfxasagqmyybdvhbdjedfggxxlqncyntpirspwojzpdyqjstevrddcwbksidqjcchgpizzcsnhmytfjcdrcsdmxomsyscguwgvkpumgjmonjpqnyrygjuredmsrfbtlniupblieysshkvurukkvganqdxqavpegtzaepmvwrjphajahabyqexpbsokvqawokmqkcyfrkhpsxscbqqpzypjtjbjehyfittmjmtftjldkvurvyvxqvwlbdamkeahvlrllovlfmwvbumirqgtdmtfrnoravhvsopbmteufdrmaolatrldvcrocykzoqvlkgpjdvsdbfmnpcwoxcnzroutdjxwwjvhqjdpfrqbxzcfxsmqeyknplbotgfuapyexynxytaxoyshhwqbudnkvpqwidenueubzutdiqrzquqzhiqzeoobieaxkvdvlrtiqpwrqbzkbarvrxfhsbsrxpnvvwpndvxbazdvcplwhndgnletanddxqhlzueyktoynwcbfyvpzidtpaccxxdzxmfhqukvrcfqvnoqdmnajwhyccnwrxkuwkpywdjnliflxzwxzzofgenihkrthsywjkgifhroqmahuqhlwixfuocjsfkyecqrhwnqduorrfmmuegdtoqmrxcvmawboxjnszbptquzsesfxdlssdvivfiiremrziyfqueozvkjsymwkjgevxlfhryszuybfqlgkqaltqccfbjcjrpuneunqzqrovainrlsjqglzrfxetvsbfmrceqojobxryxlbsnvnyavikiuntzaoxriasitbdzkixdnzxlkgecnkvmmxlvyurxaopngqdmuqouhikjoxwggnwjuaektdyaulguqrbdvursvsxlhugdehaakhsjahvxkzyzmwmrtjwhbxmycvrsqdnfxliaiyrickkcfiobjrlyefqibnldjjhscojczgukcvstdgkiarbainxemqvcasdixrvedzqczrmouahurxvbnioausxjocascfejjejnbcgojgbtjqboamhumoqiechfilowafyupvoqpczcwszxkwznmbwgflvcbyfreddpeawpzrntupdkjtpblxpngnuscjzjtmrnskpdymzzhkcnhxyrnabahjagtomrmmijtfyfaklfiqyipienbsknngbzcdvvndayfxnncaslozqdzltuoawbthtitgcvxhaeokfrdpkcdgxnwbmmudspeqofpyeuumzvyshnvfzoxwalqfqvkblwjewjrzspttynqjkycmodjvmadimwbchhqqwqapqvnafrxfuwtrtluvumwppohfjgghxliutfxojdaevjpoykjaoqowctxwcsxozghlyjnpolctejmghwstptxrvdccnjdfyunzzbpoibeskgkcycekpa\",
\"unit_id\": 872,
\"images\": \"nostrum\"
}"
const url = new URL(
"http://localhost:8000/api/products/6"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"sub_category_id": 14,
"group_id": 1,
"product_name": "oaxwavndysdiqqffdfoffelbsofndtfdswpvfkhcirxbmmwqpssxlkduzbbipxehgjfqbxwsnbjxlkqpfairjubmftsixzpjexuntvgrjzsiqrmdxjixnmqtzieyiuthnmwzqgvtftglglkjllcdhmnubsahvfgfjwviejtaiceamevdjzegkbbquunozuqrvltpagpktuapzmxdxirwtpeurpbudlpltjnkohmxnsmbsfbtigordkmwoncwnhovcpnittyzwcguajewkyoqvpththlgyqjcndyctyhkddtxdnzbrcgnxcvlktbuowmjdzzpvpvwkdmtswbvylmgvygzsgyvnmmnjetjvdlthqswbcoechriszrnpfceqfklafoxgohbmmiecvvfaccjkzqoeylpkundfqogflghxerxnuqxifonfvmyyvbuxdkwpzitlqhehtowmgkrxvujuwrcuquvuvhwiljczradzzssqqhmdbnflnsmmxdowrsvrlaqvljotagoqnuqiyakdzbunlwqntgfzsneffngksrvbmzwmpmjaajhdaycgvemagdxbbhveccdnposroedehbqaseuneuivhjkylsouihflpertqpmcaiwnlsfxpiurrcekryamvssohtkexnacbxnmjwlkuvdjanynphbyvyweyijsdphijjjmrrqvqybjojjxqcntavcmrvplpxuvweuipwebdoykhuaukwqfwrmzqndxbngbomtmzjxhfarftkvqnotdaxktaipxyqfcuoudfemyoxloxfgvmuivuuqhmdmyxnnqyfnwdhfhhcijbfrmoaoaqnkbuiyivpdsqmbjjslvlhilvxznorqfmjrqghnikghytziejohtwnrlafmiyhhlvxdplxyvpricfraitmhvmjydzemhfmomxzlhhiblqrmunjffimjvxacqtmqappwvwubiecadhzldmnijjpcvuisxvczqslbrlgnyipsmfiaimzmdabrwispxsrrczxdadpugyfgkmzetuxgpyxzyjklctkkcmfeuvwydahlwrwsgjggkrxpbxcjvefxiljduuqwuqhvodxvnfcilkcshfeoghccpbzlfkolxyqvsumawaixvmqnxzbccqqrddhbnhbnsepqhubycdarvefvbuimjckdydflaakynizuncobxyxynnaxrpqtgbtysufwneofrhtvmlesylhelxcddvwbsgvqfdtclgfbsexsnlfrucqozgxjlglpcixkowmrvmdhvapjvmouwtwoitsqxzdylrootennhqddvgtkyhnfbvtxtcdmrmhmzagsyjqzdgxdgnltecducvndziyuiprcgqxbnaaubakfcmfimzolrwbtwzxhnmdtitziftmsscpcgvxjcueiinzgjjvogvcxiwqgqvhikaxqwwurxkmrzriqzxruruxjoogqksnpeyqhsfgrgepdlldhdiynxmxyvvmzuaofnjtrcocwvprxynzxecikldlxlyyaetsrrsbhnswkggdexhdpvyoebydzpimgvgalkaoxedfpmelewnqkzwgvzeldzxspqcprlkdwolhmvnwnjjsjuhfwclmczlbicbtypcjpjpccmxhoudgxqfqmfxnrbcqmibfhhfoklrkaabumrtignqgdathrexqlrqtdrsyyifyolzrfcfkzpbmlyjhrhogifbwmlvxgjkgpaidvgofxaoiwetohzkwiehkxsycrmavuzvchpurtphkfrclvqgqpttfqgovniuspckesjdemeiymaxkusitbfksaxyehmtridssfkzssyxueqlxnsrriyexrcxcykfddmwnipuejjagcadxrnlawxkruzhuypvgvxltmtlgtqctpppavgwzvhqojcorfjiyufpgtyaokcedraapzrtzyexiqrjxiylnyvmmqyxphmqydlqyqyrzcmbhiewvsioxixddnfwarbzasafjmrnbkcmuxsialxpwyajxtwynbvlslfgpnfdnltshppueklnytvsnpekvbmavuwewzxxxiwpfxmoaqkavtrsxbzsqgpozkswtrcceiwfmmwjwpydyjljxeucxweozimssljilbmllvxjugvyqujjymfaecuboeiljmpclqpuhtmrdvrjwuesybjlsrfszjamzsebcebqblcsbfravpxsfjyitnvvomtsxsphzqjnrjhveczpmtpvzkvhgoaahwpcfwniuvmyguuhbespabtysucarkdzfzyrvkcegwttayyhuampvvdgbenmqsdypmxwlglafanvhpnjigzlbksahxzmuthdvrtsgteoazyjtzgwpxxggwldfgldxflbrlhembjsrqbhdfqafppienbfrogcrxacpzqqyddamntfaozlfrpxfjezqvvalztmobvzghwvyposxjpeegcrsyrrjckgriihdwbwegnmxbximqbncfywmvlpknyrqxbhqnzksvpzfutcttewlsgefxfgfqmpcanngtjswywjbmspbegzupcizqbzsiwzksmchslbkefbeukmahwymxhzjeechgsrxtluofhizkhfxyqreeypwodzwxirgorvelqmtcdlcalusvpkwpbjbwmqrhmrgywxgdhqnqtjrnczljiqhdeuukwsmqqztcgyocqbwxlgzzommljpnjfpgovsbrisphexqlencmtkwqjhwzxgwrgosgzpslvklczmlmgxvoohxcwztjzasrhytgsnchzdxvhlrulxrzegtvcseznwnjmrgxpxfhlr",
"default_description": "tdcbwykqdkswdwbxddaxdbsvcrsaqlyrjpdvxhdyrnrradwrzhpdwhuseldujvmjrsqcpnohugnxilimtpzybofskrwcrymwvsystnuaxmfqauepzkqycdqfzypulqaunppypixcyytuusqhpmcwfkburirrxuecyjebgqlxyqodrpvcxwcklaqsiaqhujulmdxpwwepmvmdvnevujtyyfhpifoffqpygvaymfensznxqsvlfpzvlidkpfvmyexhvunlcykkuodpzccondhfolwjygpkrahpcaixewnjqaymkzqnnlllwnpqxvbgkebjjabxgsmdyrwvevljmzufzyrsecfchevhzxjeqbceabibspmmefebxseiguoheoaienvyzadhuwyvgzakdqtiwlrxrlhkafuqelavseornyfwduboqmrmvhunksauucksnwaquedlzydygvkpdzaqsnbyzuqtnezfeulmievqhdmfecdyyrkdlecrpndoopcmxjponlebngnzdurlqiuvuxovhbbsfuntvxegyryfhluuatefgsgtmxpcdeyrvafbbqwynonexjxvmyxibewmmxjnuqdkdfouolkkmzwdtzjxfmyskklhbxbqwdsvyefcfxkijeizvdpryqpcolxuqshtqyknfzjmupupbnekngqncnvhnvlpjyhvtyerhdpdihcczoljppshnoiwyqcwsuwcwxdaigxudvlbcvguzusoojmficojhyqeqkmtinkjphjeqmrpasptxiauszcypiocynwnlyilpljgtvvnpgrdhbkirkwpwfiexqdkmgeearcnhogtowmybzxccovlqszwdspwtldyvlxmugfvwzshleedlukwefkkbsrtspdctyfnmlnpxikrcbptpzemoejllqipfsjtqqqkqwgxfznbbdfeakmuslfqjhwmfkenykrnuzezobzpyfltuhujnmitpyatdhxzzmadnqsitntazxccskxfwvqqyxvbxrzrkhwpqirzbrtbywpstznxshcmrsgqysywltowhgpscdnfhukmweoslqrlslgxrwtvxliaxeewrdolmggowqsjyymtcohvkaqjsazzeoatkzfedphrlcfsmzrmrnfxfndxhffnrpnifdtbmbmxqykdvczggssdrztturvjrzygdmdpvpylabxzbixprxiznhjhakihauimmbqtihvefjfkglwpqfungftcvmzzcxgxznrrbbxbrssfewvqulbwjtppbgwnatmljqhwjlvqeqwrcyttpkmqspowargmferfhtufqxbykvgxmdmrovkswoqowgwbpyaqndfjtgawbxanjspqywzsgpledrnlsyyrotjccdlhpvghexnrcudeyowobipsocbabhaxpmantaqarossgyftjifhqbccqlopzruxqxriilekzgwvgoucbjavsyncsfbckuoexbvzdgpinycmgaprdzukqezznvstgvruzulizxdwwgrztitnpwyuceawmzawcyoppqpbccyuljwtmwgpykvyeeumclkxvrpgexjbyzmrgjmjwhddsoinietzxaddtogyeyokvsyxwoiywlrseycitxaqmvyaygmhqumxadytsxiczsxhdeefffptwgxzmopwflvzgenhgahyexbgohkclneehmpilzwrkgqfddjxqpoclmozlmowwhyizrhhwbuugdvfbakobzwxaamfnbdnvcnrmhimagjeeorvxbvtcmxnjokcogbvgatdkjvdvrimlylzvgsvnfrvylekiejwmvoyhjcrpyjwbdplrgbcxgfwxxqyibyfcgszdjyfswpnknupkfbetypeuszwysvzbajfqndchkdlbzkstbauywqvftjhblverpntbicsinqlvbppmtnoxkaebkfxurewdhlynhlxagxyupsfdpqfkdtbvrjyubxjsmslwmcjbtwcmmxbqjsvaedarcevbijbhqadcsukuiolqywihgagwutggnpjznotlaawppazsjuzsavtghdgtvtoksewwwoilytbsixvbbpcbugzvfgtrtttltcgwqftmyxircdkmtvpqepkfuvnncuspheqrrulhkkmogxleumvpfnykwqgepxsfvtpxmzpkwhmcegxifmgnjgzgywavgammdmasiuwrbiginbykwcwcxgsaftukkyglxnhmdajuzsgdezlstmopvubdqgkvvedrhrxvqycwmhnqxczouobhpafwcfsjailoepjzbzormypszogrmetbszxobtpgpytkwtuabsiakbtaoslperekcnswdmoxipwhyvgopjrfvwtazkbcdjeqjwlyacoyihjivqcenzkcyiizdnmlknchkzfjqzbtxdmkbrbdkgqeufiukebsacfborzvzllszlwpabzlytpzirzhsdvdsfkqfrjnblxgbrrfdwmpzqhmpbyhsholfbelqnwphkcjcuetektwofwupydoemvuuwzjhnumpwexlslinsuaujecpsnqxxzzzywscjclyswpbnjlxlluufqsjdonozhwukzqpnxznemnugupauiyabupvqxsjsplwfjlqjxsdsagginfxpdtdlxtzbteoikiumazuhdfyipxlpadltrjbxbsjxtobpyghcyblyjertxzwmxlderlqsvkhhiefshwmryrcdedlouqfnltgjplkimwlloxxwbbefribofwyfbspqdowrrorvoalwdhjxnsvkfnquykwhshadaxqyuappbqiufjmhhtqgeagmlhqbpenrjhmbixqzxhejuccaxrqudunvlpxxpgxpnjnegsvmiensemdibyexwsnnryessvvtnrexfnefmeusyeyjuobupyrcjrnlxwevscwpfuznrovzatvhqdlumljzdwnqatrankefkixrywvkkfttvoofsnyzxfvrvscaekpemqzftwvrtjvkdnnqozqfyrjwocmlzhruhddkqqxiohyqortztmvpemujgcponvnfqmvnvbqzaczsxiemhfbwxfdxscaxfvoztttstmainoyiswtjhoutbmhjsgdpqclqilhoxqokfarscjyqmxtbcxhzqlzyylegrteyolxcztiitviuqrxxywjrkrpynmaditwayfkjiddrjxqyylrxbgrbdnkosoughwqnlubiblykdqymhdadxtdroxmgpokozuivvcjmzoxtgevimdraefirtropjidtmcrmkcktsdbxyhoogyhkxlmcoayfmqvenecybbalsrnltdbuphxscwuheoklakdyusmwfnxrmmjigsfmxcwussohrjjagqcmtygftjxutpmhhrvkxmyxswcptaesadwoclcqgflgfuconsdhzqndkxfavjwvenqesckfpawhkkbkjzbbvlswpemnvmrlqtefcsosyskhytrpxvxslcaxkvedvcbilqciwctzragamikzxabrstxdvagrhgevpnvogunznoupiiykovqglgdwiiqpecpaghbyvkqrhxuiutwpiuidpclvgrhiqzktwcrynmyyriavqkcwfalafcorucxltncsqydpkczfmqsfskyftkjirqjrpffuoyprqbmkddzoldmwicdubmutsreyqzcsufosqvfhkeggysjqacsrgzeeptbumarjjbwqtnwpdaswnlujlrfajwakewcupvwrybinwlrugpvzyqbqxyccmfeiarqrgqcqsvoftflyhxvnggfpgyftkwpzwzqipcklciwxgvgowiktnonqvbcgbozfpguahfneciuqsxiwwmcomynzexnnlsocdvbfgdpkfkdvcbjsbvwtxfrifbgzgcwwiftkvidhgvaxudbihoxwvsrxjrwzyplrwlsnrnwyzcgvmufnvwqnxjapnoyribqxkvlzzviclbcxeaecohiyyhsjhymvqydvgrqvmbtghvmmkewkbpcgxirsqbjxguvjqscopqthxsfzhlayxhefeezhpchenfeplrvfowljnliemufraxbdqqtclfcfkezboafrngtuyhpgydvjkhmabsraxoqgsvdkmnxbeahkisrloalwaoogqahzrpeqjiawrcgbjcwjdtmlgekdboxpqahecxinfznrybhhkfrnbdvxdbtjbtmkaqonrclljesoqjjgbvzhikegecymxybnobteiplosoowxwliyfptpojowldronvpvgnysmdtexjmwneomkedrahxuinsmzsdbzghwlyvruqqzdjmcjttgocfzrnzqqdzjwxxqfagvkgwdjqpxpdccqysqyugraciddygpwqjucfwrfndnhsxatopriapruixcwguuipgskvpzqpftjolpdsenaiuiszeiemynyfkynqybeiurqxrpifyluwrnopewbcmjyloberdrtcvryoiwvgtatgurafsavvfrbtbjcixkfxmdezfrcsikeyaozwbsfstjnzqczprsrrrtniufyvkkfvolkpiypgmlztdroozomyjbmknoixumsaozuaeeegipfphtkbzytgydyiqixxbdilnzhwzbnxyrgidjcfctbjdseoamxpqrnqkqzwtqfemypbgqgfftzkvtzeugeyxlegdmogdqzyvugzegltpvftekdktxymbzuirgbivaishtrrgujsbptlxrylgypnhnrtkojeprbwqqfrjvkpakkvamjjckznmopwgomxzvfsvfvrmyfyqladesjursmkmjuxgvzghosxyikigyuwtmkzagjocucbedebxyldhunukronzvxteoiyydjhnxelhjdsdkzaiutzofncwspfsjgldrpjnhqcwwnvdtifqsfehuabdnsnulrdlkrhqlczskwuveysmaxfeafjmhubmjyqdcnynbgwpzjfxitsevkpojeswoxcftwvllhoatvmaimjbzsexonsczluubkmuhilzynvlmopmycnqmefdsrhbnkdogvkuhgbtkwxyugdeadbrzypqublltvemwlfxasagqmyybdvhbdjedfggxxlqncyntpirspwojzpdyqjstevrddcwbksidqjcchgpizzcsnhmytfjcdrcsdmxomsyscguwgvkpumgjmonjpqnyrygjuredmsrfbtlniupblieysshkvurukkvganqdxqavpegtzaepmvwrjphajahabyqexpbsokvqawokmqkcyfrkhpsxscbqqpzypjtjbjehyfittmjmtftjldkvurvyvxqvwlbdamkeahvlrllovlfmwvbumirqgtdmtfrnoravhvsopbmteufdrmaolatrldvcrocykzoqvlkgpjdvsdbfmnpcwoxcnzroutdjxwwjvhqjdpfrqbxzcfxsmqeyknplbotgfuapyexynxytaxoyshhwqbudnkvpqwidenueubzutdiqrzquqzhiqzeoobieaxkvdvlrtiqpwrqbzkbarvrxfhsbsrxpnvvwpndvxbazdvcplwhndgnletanddxqhlzueyktoynwcbfyvpzidtpaccxxdzxmfhqukvrcfqvnoqdmnajwhyccnwrxkuwkpywdjnliflxzwxzzofgenihkrthsywjkgifhroqmahuqhlwixfuocjsfkyecqrhwnqduorrfmmuegdtoqmrxcvmawboxjnszbptquzsesfxdlssdvivfiiremrziyfqueozvkjsymwkjgevxlfhryszuybfqlgkqaltqccfbjcjrpuneunqzqrovainrlsjqglzrfxetvsbfmrceqojobxryxlbsnvnyavikiuntzaoxriasitbdzkixdnzxlkgecnkvmmxlvyurxaopngqdmuqouhikjoxwggnwjuaektdyaulguqrbdvursvsxlhugdehaakhsjahvxkzyzmwmrtjwhbxmycvrsqdnfxliaiyrickkcfiobjrlyefqibnldjjhscojczgukcvstdgkiarbainxemqvcasdixrvedzqczrmouahurxvbnioausxjocascfejjejnbcgojgbtjqboamhumoqiechfilowafyupvoqpczcwszxkwznmbwgflvcbyfreddpeawpzrntupdkjtpblxpngnuscjzjtmrnskpdymzzhkcnhxyrnabahjagtomrmmijtfyfaklfiqyipienbsknngbzcdvvndayfxnncaslozqdzltuoawbthtitgcvxhaeokfrdpkcdgxnwbmmudspeqofpyeuumzvyshnvfzoxwalqfqvkblwjewjrzspttynqjkycmodjvmadimwbchhqqwqapqvnafrxfuwtrtluvumwppohfjgghxliutfxojdaevjpoykjaoqowctxwcsxozghlyjnpolctejmghwstptxrvdccnjdfyunzzbpoibeskgkcycekpa",
"unit_id": 872,
"images": "nostrum"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/products/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/products/2"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/business_products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost:8000/api/business_products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/business_products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": 11,
\"product_id\": 5,
\"product_price\": 14,
\"default_unit_package\": 5,
\"product_description\": \"cvpzibzuhgbottzzhfbgjvwtfvevhjjampzpecefzplerorzxfbbkiuwbuptnkneysgergushadfctqfmqzqqlfprephkvrmsjntwtrshfruxosmbxurfswlaesnqsyncukmqlespcazywixrbegioxfipfnzqloytdwppnymlwpkosycselwkizrueikjbospvjoywbdesfsyacteqxijjnsfrdsdjbculixvuhjjeavruecvizczwvnjgjsmghizyxodlyduoaxlwfmtivttnfszbawgmgxtclydiutdmqqecuiajmbpsrxidflhlkwabnssuswicvrfmrfzzhsycxgfbpgvhqqlmpjltldhcqynjstavbsigdjxsurslydljtrenxzgagwqakyayuhizzeqwvzzvmxhwbntidwesuvoymxjqsmchfbaugxikkhgltlyorrbsogguvgzxdthyjxxrxomjazxhnwefytapejvrctbpgxcootfcbmsusxrvmjcarajexiparzfcfjdeencaxnbgruxtzicuuqvkmcbipfaqlipqqptveqxftykxfpbgsvfsjblphcowzpqodwvjcitwaxrgxfjuysptjmjrjijrlnulxgfojtgwzeayerxxewditwcnfywqflegnwtcsguahhblsewfewzgzhgmywbnugcubrluuyvtgehqerafjrhrhyjfbquiiqeqfdgljxwngzbrcpcitfadxehcnfuzuiyujnkibbueqnutmmgbuqwbdjlsnfifajyjsrfzdjhlufdmrcggjbroomtrfpetoptdzsdylnyaiwffgbzjmdlzrbfnyiscrjhlorfeoygwnyzlesbjtgpgullpgmwajeafgqlezmvouwxexulwzbekotfurtmjbqpbnkrejkljjwulfflgxqtxamigyybsaurireqvznsctfdetxvwasbrunbxechnfhbsbnjmtwksipqojjhjzsphkipcimxpftxdnhcjtzvgeliwvfsbdvorjbemdebqxkuin\",
\"opening_stock\": 10,
\"minimum_order_quantity\": 20,
\"minimum_order_indicator\": 11,
\"images\": \"saepe\",
\"tags\": [
\"occaecati\"
]
}"
const url = new URL(
"http://localhost:8000/api/business_products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": 11,
"product_id": 5,
"product_price": 14,
"default_unit_package": 5,
"product_description": "cvpzibzuhgbottzzhfbgjvwtfvevhjjampzpecefzplerorzxfbbkiuwbuptnkneysgergushadfctqfmqzqqlfprephkvrmsjntwtrshfruxosmbxurfswlaesnqsyncukmqlespcazywixrbegioxfipfnzqloytdwppnymlwpkosycselwkizrueikjbospvjoywbdesfsyacteqxijjnsfrdsdjbculixvuhjjeavruecvizczwvnjgjsmghizyxodlyduoaxlwfmtivttnfszbawgmgxtclydiutdmqqecuiajmbpsrxidflhlkwabnssuswicvrfmrfzzhsycxgfbpgvhqqlmpjltldhcqynjstavbsigdjxsurslydljtrenxzgagwqakyayuhizzeqwvzzvmxhwbntidwesuvoymxjqsmchfbaugxikkhgltlyorrbsogguvgzxdthyjxxrxomjazxhnwefytapejvrctbpgxcootfcbmsusxrvmjcarajexiparzfcfjdeencaxnbgruxtzicuuqvkmcbipfaqlipqqptveqxftykxfpbgsvfsjblphcowzpqodwvjcitwaxrgxfjuysptjmjrjijrlnulxgfojtgwzeayerxxewditwcnfywqflegnwtcsguahhblsewfewzgzhgmywbnugcubrluuyvtgehqerafjrhrhyjfbquiiqeqfdgljxwngzbrcpcitfadxehcnfuzuiyujnkibbueqnutmmgbuqwbdjlsnfifajyjsrfzdjhlufdmrcggjbroomtrfpetoptdzsdylnyaiwffgbzjmdlzrbfnyiscrjhlorfeoygwnyzlesbjtgpgullpgmwajeafgqlezmvouwxexulwzbekotfurtmjbqpbnkrejkljjwulfflgxqtxamigyybsaurireqvznsctfdetxvwasbrunbxechnfhbsbnjmtwksipqojjhjzsphkipcimxpftxdnhcjtzvgeliwvfsbdvorjbemdebqxkuin",
"opening_stock": 10,
"minimum_order_quantity": 20,
"minimum_order_indicator": 11,
"images": "saepe",
"tags": [
"occaecati"
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/business_products/15" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/business_products/15"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/business_products/19" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": 15,
\"product_id\": 20,
\"product_price\": 18,
\"default_unit_package\": 4,
\"product_description\": \"xbkmvjzsuqlyqxmowpbvdfmlxljhganhglsqaqnrcrigrkjmcrugznjbnvrixsmexzjqarduzdpwlcfjjwudtemayedoknumuubcvuizmgjwqnopynbzuitrxizahrtwzbjslcxfhypqdompsqzmuuzqrjkgqmwcaeqobiglxuvrqiyfzkngtkwesyvewthnbjonacakvktkgqbegpinpvubpldzxwdsffeenlwfcydydshihvruuymwcfkqhcyjzwrqxazjkjibuihufyfkblalrshwsunbrofdjtrqdqrempauwwrqysznnpxsrodefdqrvkaxoisbekvvkccjoqrfxdgghxxjyjsevagpwxyxfgczjws\",
\"minimum_order_quantity\": 12,
\"minimum_order_indicator\": 2,
\"images\": \"dolorum\",
\"tags\": [
\"aut\"
]
}"
const url = new URL(
"http://localhost:8000/api/business_products/19"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": 15,
"product_id": 20,
"product_price": 18,
"default_unit_package": 4,
"product_description": "xbkmvjzsuqlyqxmowpbvdfmlxljhganhglsqaqnrcrigrkjmcrugznjbnvrixsmexzjqarduzdpwlcfjjwudtemayedoknumuubcvuizmgjwqnopynbzuitrxizahrtwzbjslcxfhypqdompsqzmuuzqrjkgqmwcaeqobiglxuvrqiyfzkngtkwesyvewthnbjonacakvktkgqbegpinpvubpldzxwdsffeenlwfcydydshihvruuymwcfkqhcyjzwrqxazjkjibuihufyfkblalrshwsunbrofdjtrqdqrempauwwrqysznnpxsrodefdqrvkaxoisbekvvkccjoqrfxdgghxxjyjsevagpwxyxfgczjws",
"minimum_order_quantity": 12,
"minimum_order_indicator": 2,
"images": "dolorum",
"tags": [
"aut"
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/business_products/18" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/business_products/18"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/shipping_addresses" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/shipping_addresses"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/shipping_addresses" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"nemo\",
\"email\": \"occaecati\",
\"country\": \"nobis\",
\"default_address\": \"quis\"
}"
const url = new URL(
"http://localhost:8000/api/shipping_addresses"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "nemo",
"email": "occaecati",
"country": "nobis",
"default_address": "quis"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/shipping_addresses/8" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/shipping_addresses/8"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/shipping_addresses/11" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"phone\": \"nihil\",
\"email\": \"sed\",
\"country\": \"voluptas\",
\"default_address\": \"in\"
}"
const url = new URL(
"http://localhost:8000/api/shipping_addresses/11"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"phone": "nihil",
"email": "sed",
"country": "voluptas",
"default_address": "in"
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/shipping_addresses/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/shipping_addresses/2"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/orders" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost:8000/api/orders"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/orders" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"buyer_id\": 10,
\"order_status\": \"aliquam\",
\"payment_status\": \"officiis\",
\"payment_method\": \"eaque\",
\"shipping_address_id\": 11,
\"sale_channel\": \"omnis\",
\"sale_platform\": \"mollitia\",
\"sale_date\": \"2022-10-17T15:15:22\",
\"order_products\": [
{
\"business_product_id\": 12,
\"delivery_id\": 16,
\"unit_package\": 1,
\"unit_price\": 17,
\"quantity\": 5,
\"delivery_amount\": 12,
\"product_discount\": 18
}
]
}"
const url = new URL(
"http://localhost:8000/api/orders"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"buyer_id": 10,
"order_status": "aliquam",
"payment_status": "officiis",
"payment_method": "eaque",
"shipping_address_id": 11,
"sale_channel": "omnis",
"sale_platform": "mollitia",
"sale_date": "2022-10-17T15:15:22",
"order_products": [
{
"business_product_id": 12,
"delivery_id": 16,
"unit_package": 1,
"unit_price": 17,
"quantity": 5,
"delivery_amount": 12,
"product_discount": 18
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/orders/8" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/orders/8"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/orders/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"buyer_id\": 18,
\"order_status\": \"voluptatem\",
\"payment_status\": \"quas\",
\"payment_method\": \"rerum\",
\"shipping_address_id\": 2,
\"sale_channel\": \"voluptatibus\",
\"sale_platform\": \"illum\",
\"sale_date\": \"2022-10-17T15:15:22\",
\"order_products\": [
{
\"id\": 20,
\"business_product_id\": 20,
\"delivery_id\": 7,
\"unit_package\": 3,
\"unit_price\": 19,
\"quantity\": 19,
\"delivery_amount\": 4,
\"product_discount\": 15
}
]
}"
const url = new URL(
"http://localhost:8000/api/orders/2"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"buyer_id": 18,
"order_status": "voluptatem",
"payment_status": "quas",
"payment_method": "rerum",
"shipping_address_id": 2,
"sale_channel": "voluptatibus",
"sale_platform": "illum",
"sale_date": "2022-10-17T15:15:22",
"order_products": [
{
"id": 20,
"business_product_id": 20,
"delivery_id": 7,
"unit_package": 3,
"unit_price": 19,
"quantity": 19,
"delivery_amount": 4,
"product_discount": 15
}
]
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/orders/9" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/orders/9"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/order_products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost:8000/api/order_products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/order_products" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/order_products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/order_products/5" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/order_products/5"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/order_products/17" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"id\": 19,
\"business_product_id\": 3,
\"delivery_id\": 12,
\"unit_package\": 18,
\"payment_status\": \"blanditiis\",
\"order_status\": \"quae\",
\"unit_price\": 8,
\"quantity\": 1,
\"delivery_amount\": 3,
\"product_discount\": 19
}"
const url = new URL(
"http://localhost:8000/api/order_products/17"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"id": 19,
"business_product_id": 3,
"delivery_id": 12,
"unit_package": 18,
"payment_status": "blanditiis",
"order_status": "quae",
"unit_price": 8,
"quantity": 1,
"delivery_amount": 3,
"product_discount": 19
};
fetch(url, {
method: "PUT",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/order_products/5" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/order_products/5"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/purchases" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost:8000/api/purchases"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/purchases" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": 5,
\"supplier_id\": 10,
\"purchase_status\": \"voluptates\",
\"payment_status\": \"placeat\",
\"payment_method\": \"alias\",
\"purchase_channel\": \"veniam\",
\"purchase_platform\": \"minus\",
\"purchase_date\": \"2022-10-17T15:15:22\",
\"purchase_products\": [
{
\"business_product_id\": 20,
\"unit_package\": 4,
\"unit_price\": 14,
\"quantity\": 18,
\"product_discount\": 9
}
]
}"
const url = new URL(
"http://localhost:8000/api/purchases"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": 5,
"supplier_id": 10,
"purchase_status": "voluptates",
"payment_status": "placeat",
"payment_method": "alias",
"purchase_channel": "veniam",
"purchase_platform": "minus",
"purchase_date": "2022-10-17T15:15:22",
"purchase_products": [
{
"business_product_id": 20,
"unit_package": 4,
"unit_price": 14,
"quantity": 18,
"product_discount": 9
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/purchases/19" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/purchases/19"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/purchases/3" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/purchases/3"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/purchases/1" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/purchases/1"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Display a listing of the resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/purchase_products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
const url = new URL(
"http://localhost:8000/api/purchase_products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Store a newly created resource in storage.
Example request:
curl --request POST \
"http://localhost:8000/api/purchase_products" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data "{
\"business_id\": 5,
\"supplier_id\": 14,
\"purchase_status\": \"rerum\",
\"payment_status\": \"possimus\",
\"payment_method\": \"officia\",
\"purchase_channel\": \"est\",
\"purchase_platform\": \"in\",
\"purchase_date\": \"2022-10-17T15:15:22\",
\"purchase_products\": [
{
\"business_product_id\": 1,
\"unit_package\": 6,
\"unit_price\": 8,
\"quantity\": 20,
\"product_discount\": 19
}
]
}"
const url = new URL(
"http://localhost:8000/api/purchase_products"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
let body = {
"business_id": 5,
"supplier_id": 14,
"purchase_status": "rerum",
"payment_status": "possimus",
"payment_method": "officia",
"purchase_channel": "est",
"purchase_platform": "in",
"purchase_date": "2022-10-17T15:15:22",
"purchase_products": [
{
"business_product_id": 1,
"unit_package": 6,
"unit_price": 8,
"quantity": 20,
"product_discount": 19
}
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Display the specified resource.
Example request:
curl --request GET \
--get "http://localhost:8000/api/purchase_products/5" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/purchase_products/5"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Update the specified resource in storage.
Example request:
curl --request PUT \
"http://localhost:8000/api/purchase_products/6" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/purchase_products/6"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "PUT",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Remove the specified resource from storage.
Example request:
curl --request DELETE \
"http://localhost:8000/api/purchase_products/2" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/purchase_products/2"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "DELETE",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
POST api/logout
Example request:
curl --request POST \
"http://localhost:8000/api/logout" \
--header "Content-Type: application/json" \
--header "Accept: application/json"
const url = new URL(
"http://localhost:8000/api/logout"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error: