Passing UserName and Password to retrieve a web service with Angular

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Passing UserName and Password to retrieve a web service with Angular



I am currently using Angular, and want to retrieve information from a Web Service, the web service however, makes me manually input a username and passwordas so how would I do this in my Angular Code so that my project can access it? Thanks!







Welcome to Stack Overflow! Currently, you question is missing details to be clearly answerable and on-topic here (see help center for more details). Username and password authentication is a wide subject and there are lots of ways of achieving it. I recommend that you do some research about authentication, and get details on the protocol that is expected by your WebService. Secondly, Angularjs tag is to be used for Angular.JS (version 1 of Angular) and Angular tag is to be used for any version since Angular 2 or above. They are quite different, please be specific about this as well.
– Pac0
3 hours ago







Also, if there are some details in the linked image, please take the time to copy them inside your question (you can use "code formating" in your question, select all text and hit Ctrl+K, or use the Code Format button). Having code and other text information as a picture is bad for various reasons
– Pac0
3 hours ago











By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Arduino Mega cannot recieve any sketches, stk500_recv() programmer is not responding

Visual Studio Code: How to configure includePath for better IntelliSense results

C++ virtual function: Base class function is called instead of derived