Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

bash check for http response code

EndProgramm answered on January 5, 2024 Popularity 2/10 Helpfulness 3/10

Contents


More Related Answers

  • bash get http
  • checking HTTP status responses with curl
  • get status code of curl
  • common http response status codes
  • http get response code

  • bash check for http response code

    0

    How to check for a HTTP response code

    for information on the arguemnts on curl check out this page.
    Note that you can combine singe stroke args like -k and -s for example to -ks, so -ksLo are four args

    Replace $yourURI with a Resource path expected to yield a 200 OK response, or change the if to the expected response.

    Popularity 2/10 Helpfulness 3/10 Language shell
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jan 05 2024
    EndProgramm
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.