Solved

HTTP connector

  • 28 October 2021
  • 2 replies
  • 103 views

I have an API for parsing barcodes, this was the advice from my previous topic. 

Am I obliged to pass a JSON array if I want to pass one value?


Error message ThinkWise:

Using process variable


 

 

Postman:

 

icon

Best answer by Mark Jongeling 29 October 2021, 08:54

View original

2 replies

Userlevel 7
Badge +23

Hi Rolf,

Could you try to add [ ] around the Content making it [{“barcode”:1234}] ? Looking at the error, it says it requires an array so I hope this will do the trick :wink:

I was already afraid of that. If there is no alternative I will modify my REST API to handle an array of strings.

Reply