Skip to main content
Question

start workspace by http-Request -> Send response

  • August 18, 2023
  • 3 replies
  • 66 views

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
  • 8392 replies
  • 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
  • 19 replies
  • 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.

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

 


Forum|alt.badge.img
  • Author
  • 19 replies
  • 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