Error 8002 by POST in Visual Basic using the REST API

I will Saving Data Object.
This is the code in vb:

Dim http As MSXML2.XMLHTTP60
Dim respuesta, url, tabla, datos As String
Dim offset, totalPagina, i As Integer
Dim Json As Object 'otros lo crean como Dictionary
tabla = “Grab”
offset = 0
url = “
url = url & tabla
Set http = CreateObject(“MSXML2.ServerXMLHTTP”)
With http
.Open “POST”, url, False
.setRequestHeader “application-id”, “XXX”
.setRequestHeader “secret-key”, “XXX”
.setRequestHeader “Content-type”, “application/json”
.setRequestHeader “application-type”, “REST”
.Send (“idGrab : P-01-01-04”)
End With
respuesta = http.responseText
Set http = Nothing
Debug.Print respuesta

Then come the error:
{“code”:8002,“message”:“Could not parse request with message: Invalid Json”}
How can I write correctly the object.
Thank´s a lot

I think the problem is in:

.Send (“idGrab : P-01-01-04”)

I have too write:

.Send "\{'idGrab' : 'P 01-01-04'\}"


this is the solution:

.Send ("{"“idGrab”":"“P 01-01-04"”}")


PLEASE delete or edit this topic. It´s the application-id and secret-key