locked
web service or web api? RRS feed

  • Question

  • User-1548796982 posted

    Hello.
    I wrote an application with MVC and I want to define a web service to send a wordpress site through my web service to my software.
    I have two questions:
    1. web service better or webapi?
    2. The programming language of the site that you want to call the web service or web api does not matter?

    Monday, January 14, 2019 7:37 AM

Answers

  • User-821857111 posted

    Yes. All web development technologies (ASP.NET, PHP, Java, Ruby etc) include components that enable you to make calls to remote web services. Neither the consumer nor the service need to know anything about how the other end of the chain was written - exactly the same as your browser doesn't need to know anything about the technology that was used to build a web site that it displays.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, January 14, 2019 10:46 AM

All replies

  • User-821857111 posted

    The Web API framework is the recommended way to provide services over the web ("web services"). They don't care what technology/programming language you use to call them.

    Monday, January 14, 2019 7:57 AM
  • User-1548796982 posted

    Can I call web api in WordPress blog?
    i write web api in .net mvc

    Monday, January 14, 2019 8:20 AM
  • User-821857111 posted

    Can I call web api in WordPress blog?
    Yes, but WordPress development questions are off topic here. If you need to know how to call web APIs from WP, you need to find a WP community site. If you have any further questions about creating Web APIs using ASP.NET, please feel free to ask them here.

    Monday, January 14, 2019 10:11 AM
  • User-1548796982 posted

    thank you.
    I just wanted to know if I write web api with .net mvc, wordpress or joomla or php Web sites, web pages, Can call my web api?
    You said it is possible.
    it's true?

    Monday, January 14, 2019 10:41 AM
  • User-821857111 posted

    Yes. All web development technologies (ASP.NET, PHP, Java, Ruby etc) include components that enable you to make calls to remote web services. Neither the consumer nor the service need to know anything about how the other end of the chain was written - exactly the same as your browser doesn't need to know anything about the technology that was used to build a web site that it displays.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, January 14, 2019 10:46 AM