Dim j As HttpJob
j.Initialize("", Me)
Dim json As JSONGenerator
json.Initialize(CreateMap( _
"username":"daniel123", _
"lastname":"klein", _
"comments":"Comment will be updated."))
j.PatchString($"${api_url}/patch-user"$,json.ToPrettyString(0))
j.GetRequest.SetHeader("api-host","/patch-user")
j.GetRequest.SetHeader("api-key",api_key)
Wait For (j) JobDone(j As HttpJob)
If j.Success Then
Log(j.GetString)
End If
j.Release