Add an option to return the raw response instead of the json

Created on 4 October 2023, about 1 year ago
Updated 8 December 2023, about 1 year ago

Problem/Motivation

In some cases, it may be required to get back the raw response from Drupal instead of only the json so that headers or other parts of the request can be used if needed.

Steps to reproduce

Proposed resolution

An option to the get method of the JsonApiClient to return the raw response.

Remaining tasks

User interface changes

API changes

the get method options in the JsonApiClient adds a rawResponse option that is a boolean which defaults to false

Data model changes

Feature request
Status

Fixed

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024