Forum Discussion
youssef1
Sep 11, 2018Cumulonimbus
Hi,
Did you try with real content lenght:
{"TerminalId":"LBTest","Value":"_","RetailerId":99999999} --> Your string is 57 characters long.
POST /api/ChunkingService/CacheChunk HTTP/1.1\r\nHost: obcs.uat.alc.ca\r\nConnection: /\r\nContent-Length: 57\r\nContent-Type: application\json\r\n\r\n{\"TerminalId\":\"LBTest\",\"Value\":\"_\",\"RetailerId\":99999999}
Try this and if you obtain an error did you have the possibility to check app logs?
For calculate lenght you can do it online or use an irule:
set recv_data "{\"TerminalId\":\"LBTest\",\"Value\":\"_\",\"RetailerId\":99999999}"
log local0. "AAA1: [string length $recv_data]"
We obtained: AAA1: 57
regards,