Skip to main content
Solved

HTTP connector

  • October 28, 2021
  • 2 replies
  • 126 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:

 

Best answer by Mark Jongeling

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:

This topic has been closed for replies.

2 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • Answer
  • October 29, 2021

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:


  • Author
  • Sidekick
  • October 29, 2021

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