国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

How does laravel response return json data and status code at the same time?
PHP中文網(wǎng)
PHP中文網(wǎng) 2017-05-16 16:48:26
0
1
723

Return a json prompt

['code' => 'Verification code error! ']

Then return a status code with a response header of 422

PHP中文網(wǎng)
PHP中文網(wǎng)

認(rèn)證高級PHP講師

reply all(1)
過去多啦不再A夢

return response()->json(['code' => '驗證碼錯誤!'],422)

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template