Consume RESt API from .NET

前端 未结 4 1005
天涯浪人
天涯浪人 2021-01-31 06:16

I am trying to consume REST API from my .NET Application. This API\'s are all written in JAVA. I am asked to pass the authentication credentials vis HTTP headers. How can I pass

4条回答
  •  北荒
    北荒 (楼主)
    2021-01-31 07:11

    There are a number of ways taht you can do this but using the WebRequest objects is the fastest if you have just a few calls to complete.

    This site, has a great overview of the process.

提交回复
热议问题