JSON format in Windev
September 12, 2021 12:36PM
Dear Wcoders,
Good day, below code is working fine in using Postman(getting 200 OK response)., but in the request..Content in Windev it is getting an Error 400., kindly pls. advise the proper format in the code.

==================================

{
"refCode": "1521",
"dateDgr": 1631367106,
"header": {
"gprId": "988",
"billToFreeText": "",
"shipToFreeText": "",
"paymentTerms": "219801",
"creditPeriodDays": "0",
"rem": null
},
"lines": [
{
"barcode": "0111013",
"qty": "1",
"freeQtyManual": "0",
"unitPriceAlc": "359.6",
"unitPriceAfc": "0" ,
"rem": null,
"itemsDiscAlc": "0",
"itemsDiscAfc": "0",
"taxAlc": "7.98",
"taxAfc": "0"
}
]
}





=================================
renko
Re: JSON format in Windev
February 22, 2023 10:08AM
Hi the json looks fine.what are you doing in windev as prob there is the problem Show us some code please
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: