File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 1717 'debugStatus ' => TRUE ,
1818 'debugLoggerPath ' => testLogPath ()
1919];
20- $ url = 'http ://vcms.gviet.vn/api/v1/shared-content/vietlott.html ' ;
20+ $ url = 'https ://httpbin.org/ ' ;
2121$ data = [
2222 'date ' => date ('Y-m-d ' ),
2323 'service ' => 'ME ' ,
3333$ request ->setHeader ($ headers );
3434$ request ->setOptions ($ options );
3535
36- //$pyRequest = $request->pyRequest($url, $data, $method);
37- //var_dump($pyRequest);
36+ $ pyRequest = $ request ->pyRequest ($ url , $ data , $ method );
37+ d ($ pyRequest );
38+
39+ $ guzzlePhpRequest = $ request ->guzzlePhpRequest ($ url , $ data , $ method );
40+ d ($ guzzlePhpRequest );
3841
3942$ curlRequest = $ request ->curlRequest ($ url , $ data , $ method );
40- d ($ curlRequest );
43+ d ($ curlRequest );
44+
45+ $ sendRequest = $ request ->sendRequest ($ url , $ data , $ method );
46+ d ($ sendRequest );
You can’t perform that action at this time.
0 commit comments