HTTP request legacy vs modern

Hello, I have a problem with HTTP Request activities. In the legacy version everything works fine and the response is correct, however when i try the same request in modern version i get the blank content response. Status code is 200 OK and Headers are good too. Only content is different.

Do you know solution besides using legacy version?

With Regads

Hello,
could you share screen shot of what you are doing so we can help you solve this problem.

Hi @Marcin1

Could you please share screenshot from both activities and what call are you trying to make?

Hi @Marcin1

We would need a bit more details about this issue to be able to investigate it.

What is the expected output of our API call? A text content, or a file?
Also, which version of the WebAPI package are you using?

Hello, I am expecting to get stream type answer. I am using webapi 2.0.0 preview.
Calls config is in the screenshots.




With regards

1 Like

Thank you! I have to ask a small follow-up, just to get it out of the way: could you please share how you configured your message box?

Hello, I am using it exactly as you, with .TextContent property.

This is really strange. Does this only happen for you for this specific endpoint?
In theory, it should simply collect the entire response and pack it into that Text property…

Could you double check if no files are created in your project’s folder with the response saved as a file?

Hello, sorry for my late answer. It seems that the issue was connected to the specific endpoint. Thank you.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.