[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 375
  • Last Modified:

Get HTTP Headers(Responce Codes)

I was wondering weather you can get HTTP headers, all i need is the responce code, if anybody has a code snippet that does this it would be very helpful.

Preferably javascript.
1 Solution
with JavaScript's XMLHttpRequest() you can get the response code from the status and statusText property

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now