dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
836 stars 465 forks source link

Need to introduce a HTTP tool that can return full HTTP response. #25498

Open waqasakramdot opened 1 year ago

waqasakramdot commented 1 year ago

Parent Issue

No response

User Story

We need to introduce an HTTP tool that can return a full HTTP response including response headers, status code, and if possible so formatted response (JSON, TEXT, XML etc).

Background: We have different support request where customers want to use $json tool to call get/post API and want to get the status code, and response headers even If the backend return the response as a string (content-type: text/plain). Currently, $json tool can only return json otherwise generates an error in the background and return nothing.

Acceptance Criteria

The new tool should be able to return a full HTTP response.

Proposed Objective

Customer Success

Proposed Priority

Priority 2 - Important

External Links... Slack Conversations, Support Tickets, Figma Designs, etc.

https://dotcms.zendesk.com/agent/tickets/112398

https://dotcms.slack.com/archives/C028Z3R2D/p1689089128134119

Assumptions & Initiation Needs

No response

Quality Assurance Notes & Workarounds

No response

Sub-Tasks & Estimates

No response

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days.