Horje
vba request json Code Example
vba 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 http request json Code Example vba http request json Code Example
set font for ms chart vb.net Code Example set font for ms chart vb.net Code Example
excel vba get the path of current workbook Code Example excel vba get the path of current workbook Code Example
vba post request json Code Example vba post request json Code Example
vba optional Code Example vba optional Code Example

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