What is Webget and WebInvoke in rest service? Tell difference between them



What is Webget and WebInvoke in rest service? Tell difference between them..

Answer / Pushker Bhardwaj

WebGet is an attribute used in ASP.NET to create HTTP GET requests in a RESTful web service, while WebInvoke is a method that allows developers to specify HTTP verb (GET, POST, PUT, DELETE) for a specific action within the service. The difference lies in their usage: WebGet is typically used for retrieving data from a resource (GET request), and WebInvoke can be used for creating, updating, or deleting resources using various HTTP verbs.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Web Related AllOther Interview Questions

what is the relationship between garbagecollection and thread?

1 Answers   CTS,


What is WSDL?

2 Answers  


What is the difference between relative and absolute url?

1 Answers   Tech Mahindra,


What is Code Base, Style Sheets?

1 Answers  


What is frame level testing and how do we test it?

1 Answers  


what are the general webtesting questions and how to respond them in generally in interview point of them

1 Answers  


1. How can u know that the DB has connected to ur WLS? 2. What happen when u deploy a ear file in web applications? 3. What happen when ur DB and proxy server(Apache) are down n ur weblogic server is up? 4. How can u configure ur proxy server(Apache)? 5. How can the proxy server(Apache) communicate with ur WLS? 6. How the request process to ur WLS through the Proxy server(Apache)? 7. How can u know that ur heap memory is full? 8. When will u do garbage collection?

1 Answers  


Is web application testing different from desktop application testing? Explain how.

1 Answers  


Can you give an example of when it would be appropriate to use a web service as opposed to non-serviced .NET component?

1 Answers  


How to kill cookies from Web page?

1 Answers   7Eye, Net Solution,


If My Application is down what are the resonations?

1 Answers   CTS,


1.what is the difference between webserver and application server? 2. what is the difference between webserver and weblogic server?

1 Answers   IBM,


Categories