Authenticate to API within Javascript -
i have api able authenticate against using postman client. using postman able enter in username , password header , receive access token.
i accomplish same authentication simple html page using javascript. however, unsure how craft javascript request , pass in username , password did postman.
under address bar of postman there's link says "generate code" on previous versions button </>
symbol. clicking link opens popup dropdownlist javascript 1 option, generate code request.
Comments
Post a Comment