Here is the return function:
return response()->json(['aa'=>'bbb']);
and I will print the response of the function, the result is as follows:
JsonResponse {#186
#jsonOptions: 0
#data: "{"aa":"bbb"}"
#callback: null
#encodingOptions: 15
+headers: ResponseHeaderBag {#187
#computedCacheControl: array:1 [
"no-cache" => true
]
I have never seen it before, how can I get the value bbb? thank
source
share