![]() The optional function parameter allows you to specify options, like the UserAgent, Headers etc.ĭim options = New With The example below demonstrates the use of ‘ ‘ to execute a GET request on the given url. Note: Don’t forget to include the ‘ Utils Namespace‘ before running the examples! For simplicity, those operations are hard coded.įor examples of how to serialize and deserialize objects using Json and XML, see below: In a real world application, the objects would be serialized first before they are sent over the network, and then deserialized once a response is received. The Json objects we are sending to the API are hard coded in the examples below. The examples on this page will call a test API, and the resulting calls will return Json results. This page will demonstrate using the asynchronous function calls. They can be called synchronously or asynchronously. ![]() ![]() The following functions use and to send and process requests. The following is a module with functions which demonstrates how to send and receive a RESTful web request using VB.NET. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |