Project

General

Profile

Actions

Bug #10054

closed

User story #10050: Remove all datasource code from Rudder main and add needed hooks

Change headers AND params in datasource api to be an array

Added by Vincent MEMBRÉ almost 8 years ago. Updated almost 8 years ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Storing and sending an array for datasource headers would be friendlier than an object (order fixed, POLA ...)

The awaited format is:

For params:

 
  [ { "name": "my-param1", "value": "the param value" }, { "name": "an-other-param", "value": "the value" } ]

For headers:

 
  [ { "name": "header1", "value": "the value 1" }, { "name": "header2", "value": "the value 2" } ]
Actions

Also available in: Atom PDF