Allow select request method

Created on 26 September 2023, about 1 year ago
Updated 1 March 2024, 10 months ago

Problem/Motivation

Not all APIs allow GET requests, some prefer the POST method. It could be useful to allow this module to give developers/site editors the opportunity to choose which method to retrieve the JSON to use.

Proposed resolution

Allow users to select different request method from views_json_source query handler plugin options.

User interface changes

A new 'Request method' select element is provided on 'Query settings' and a request body textarea to allow users pass form parameters to the request.

API changes

A new option for 'post' request method is provided, and 'get' is set as default.

Data model changes

None.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡΅πŸ‡ΉPortugal joao.ramos.costa

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