How to send email address as parameter in wcf method

前端 未结 1 477
甜味超标
甜味超标 2021-01-25 02:50

This is my operation contract. I want to test this method in a browser. But when I type any email in the browser like http://localhost:1234/json/user/abc/abc@abc.com

1条回答
  •  爱一瞬间的悲伤
    2021-01-25 03:05

    Try to URL encode your e-mail address:

    http://localhost:1234/json/user/abc/abc%40abc.com
    

    Does that result in the call you expect?

    0 讨论(0)
提交回复
热议问题