Horje
vba post request json Code Example
vba post request json
'https://github.com/VBA-tools/VBA-Web. 
'Using this library, it would look like:

Sub sendPostRequest()
  Dim Body As New Dictionary
  Dim Client As New WebClient
  Dim Response As WebResponse

  Body.Add "mType", "OPEN_SYSTEM_TRADE"
  Body.Add "systemOwnerId", 10
  'Equal to Body = "{""mType"":""OPEN_SYSTEM_TRADE"",""systemOwnerId"":10}"

  Set Response = Client.PostJson("somewebsite.com", Body)

  Worksheets("Sheet1").Range("A1").Value = Response.Content
End Sub




Vb

Related
vba optional Code Example vba optional Code Example
vba declare api 64 bit 32 bit Code Example vba declare api 64 bit 32 bit Code Example
excel vba autofit Code Example excel vba autofit Code Example
vba ubound array 2-dimensional Code Example vba ubound array 2-dimensional Code Example
ms access open form to new record Code Example ms access open form to new record Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8