Skip to main content
Solved

HTTP connector

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

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

2 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3945 replies
  • 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
  • 14 replies
  • 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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings