查询字符串格式,传递用户名和密码

时间:2019-04-24 14:17:47

标签: angular

我正在通过Web API使用angular 7

我有这个网址:

'http://localhost:8089/api/Logins/CheckPassword?ID=[UserID]&Password=[Password]'; 

我尝试过,但是没有得到这种格式。

1 个答案:

答案 0 :(得分:0)

您可以通过使用HttpClient来实现

样本函数

<div>child text is not considered so this div will not be returned.
  <div>laptop, this div will be returned.</div>
  <div>this div will not.</div>
  <a>laptop in anchor tags are ignored. <span> nested laptop inside anchor tags are also not returned.</span></a>
</div>
<div>plural and capital LapTops will also work, this div will be returned.
  <div>this laptop div will also be returned.</div>
  <div>but parent text is not considered so this div won't be returned.</div>
</div>