I am using b4a version 13.00 with OkHttp version 1.50 trying to send an encrypted JSON payload.
I have another platform and have tested my encrypted JSON payload so I know the encryption is working (Thank you Andrew Graham!
)
When I try to inquire at the server I am getting a http status code of 415.
Based on the previous platform I know that it is failing at the authentication level.
Is there any way to confirm that b4a is indeed attaching the required headers?
b4a:
Request.InitializePost2(Transmit,xLine.GetBytes("UTF8"))
Request.Timeout = 20000
Request.SetHeader("Content-Type","text/plain")
Request.SetHeader("X-API-Key","my API Key goes here")
host.Execute(Request, 1)
I have another platform and have tested my encrypted JSON payload so I know the encryption is working (Thank you Andrew Graham!
When I try to inquire at the server I am getting a http status code of 415.
Based on the previous platform I know that it is failing at the authentication level.
Is there any way to confirm that b4a is indeed attaching the required headers?