Skip to main content
Question

start workspace by http-Request -> Send response


Forum|alt.badge.img

Hi everybody, I created a Workspace. This Workspace should be started by an external http-request. If the workspace ended, i wanted to send back a response. I published the Workspace with fmedatastreaming + included the writer to the stream.

imageThe response was send as a file. I wanted to send the response as content in response.

Any Ideas?

 

 

 

3 replies

david_r
Celebrity
  • August 18, 2023

Which writer are you using and what is the output filename defined on the writer in your workspace?

Also, try tacking "opt_responseformat=json" to the end of the URL.


Forum|alt.badge.img
  • Author
  • August 18, 2023
david_r wrote:

Which writer are you using and what is the output filename defined on the writer in your workspace?

Also, try tacking "opt_responseformat=json" to the end of the URL.

I tried Json- weiter, Textfile weiter, html-writer. The Filename ist Protokoll-1645.txt or I tried response.txt

 


Forum|alt.badge.img
  • Author
  • August 22, 2023

I've solved my problem. Now I use a textfile Writer. It's content is a json value. I dont't need the parameter opt_responseformat=json


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