locked
WebApi RRS feed

  • Question

  • User1979860870 posted

    Hi

      Is there any free Website where we can try how to post & get data using Api

    Thanks

    Wednesday, August 12, 2020 4:04 PM

All replies

  • User1120430333 posted

    Most would use local IIS on their development machine, which is a real Web server unlike IIS Express. Anything you're trying to do in trying to use a real Web server on the Internet can be done by the program being hosted on local IIS.

    Wednesday, August 12, 2020 4:16 PM
  • User-474980206 posted

    your question does not make sense.

    WebApi is .net library for creating a web service api. It does not get / post, but responds. You need to build the Api first before you call it. When you build the api, you define how it must be called.

    there are several WebApi protocols. REST (the default), OData, SOAP, GraphQL, or custom. 

    there are free tools Postman for calling an existing api. HttpClient is the library for calling a webapi. 

    if you just want to call an existing api, typically there is a site. try google, twitter, facebook, etc. they all have test tools or you can use Postman. they have either REST or GraphQL apis.

     

    Wednesday, August 12, 2020 5:07 PM
  • User1686398519 posted

    Hi jagjit saini,

    Do you mean you want to use a tool to test your webapi and be able to view the results?If you have such a requirement, you can use swagger or postman.

    1. You can click here to learn how to use postman.
    2. You can click here to know how to add swagger to ASP.NET Web API project through a simple example.

    Best Regards,

    YihuiSun

    Thursday, August 13, 2020 2:25 AM