get url without query string
window.location.href.split('?')[0]
                                
                            url query example
URL Query example:
https://example.com/path/to/page?name=ferret&color=purple
{
    "name": "ferret",
    "color": "purple"
  }
                                
                            query parameters
Query Parameter 
		represented as  key value pair right after the ? 
		https://www.google.com/search?q=iloveyou
	usually used to filter the result
    
    GET /api/spartacus/search?gender=Male&nameContains=li
	if we have more than one query parameter 
		& is used to connect them 
        
 Also there is a Path Parameter|variable
	/api/spartans/{id}  /api/spartans/:id 
	It's used to identify single resource amonth list of resources
	in above example 
		the id is the path parameter to identify single spartan
                                
                            query string
$ npm install query-string
                                
                            Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us