Azure-devops-docs: Is there a way to access the Response Body

Created on 11 Mar 2020  Â·  6Comments  Â·  Source: MicrosoftDocs/azure-devops-docs

It is nice to call REST API's but I need the result of that call in order to perform a second call.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Pri2 devops-cicd-tasktech devopprod doc-bug stale-issue

All 6 comments

Never mind I read in the closed issues that it is not possible. It would be nice to have something that can provide the results as an output for other tasks

An it would be nice to include this as part of the documentation.

@verbedr -- Dries, thank you for your question and followup. You are welcome to add your product suggestion here.

@RoopeshNair -- Roopesh, please look into this potential documentation issue.

@WilliamAntonRohm Thx for your quick reply. I do realize I was a bit to quick to post the question/remark. If I would have taken more time I should have realize that the Task used the HttpRequest feature from tfs which is limiting the options that are available. And it's not that easy to fix/solve.

My appoligies if I sounded aggravated.

@RoopeshNair you could add an additional question in the Q/A

Can I use the response boby as the input for a nother task?

No, as this taks is an agent less task and thus is using TFS internal HttpRequest it can't return the content of the http request

@verbedr -- Dries, thank you for clarifying. Your first comment is fine -- it's what we do!

@shashban -- Shashank, please review private PR 1382.

This issue hasn't been updated in more than 180 days, so we've closed it. If you feel the issue is still relevant and needs fixed, please reopen it and we'll take another look. We appreciate your feedback and apologize for any inconvenience.

Was this page helpful?
0 / 5 - 0 ratings