Giter VIP home page Giter VIP logo

checkwarranty's Introduction

Quickly check HP warranty status

Access https://support.hp.com/us-en/checkwarranty/multipleproducts/ and find the mwsid from source,like below

<input type="hidden" id="secureFieldJson" value='{"mwsid":"7e4eed8c-66a3-4fa9-84af-d905bd2a8ee1"}' />

Fill the mwsid into this url and post the JSON body(format like below) to url like below

https://support.hp.com/hp-pps-services/os/multiWarranty?ssid=

1. cookies

  • Using cookies from first url(import)

2. headers

"Content-Type"="application/json"

3. JSON Body like below

{
    "obligationServiceRequests":  [
                                      {
                                          "serialNumber":  "4CV6010FGW",
                                          "modelNumber":  "",
                                          "lc":  "ZH",
                                          "isoCountryCde":  "CN",
                                          "cc":  "CN"
                                      },
                                      {
                                          "serialNumber":  "6CR6459M4M",
                                          "modelNumber":  "",
                                          "lc":  "ZH",
                                          "isoCountryCde":  "CN",
                                          "cc":  "CN"
                                      },
                                      {
                                          "serialNumber":  "6CR7082XPP",
                                          "modelNumber":  "",
                                          "lc":  "ZH",
                                          "isoCountryCde":  "CN",
                                          "cc":  "CN"
                                      },
                                      {
                                          "serialNumber":  "6CR7082XPQ",
                                          "modelNumber":  "",
                                          "lc":  "ZH",
                                          "isoCountryCde":  "CN",
                                          "cc":  "CN"
                                      }
                                  ],
    "gRecaptchaResponse":  ""
}

You will have a JSON respond about the warranty status

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.