Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the request status code easily? #44

Open
maxluk12 opened this issue Apr 22, 2016 · 0 comments
Open

How to get the request status code easily? #44

maxluk12 opened this issue Apr 22, 2016 · 0 comments

Comments

@maxluk12
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant