How to get the request status code easily?
Opened this issue · 0 comments
maxluk12 commented
say i am using curlrequest to make a post call
the parts i get from the call back like this
[ 'HTTP/1.1 404 Not Found', 'Server: Apache-Coyote/1.1', 'Content-Type: text/html;charset=utf-8', 'Content-Length: 1005', 'Date: Fri, 20 Apr 2016 04:16:11 GMT', '', 'some content' ]
is there any way to get the status code 404 more easily?