neroze / conditionalGlobalPayload

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

conditionalGlobalPayload

Use case testing

use case:

A shared component which should able to update any remote request with some extra data. ie: component has a form with 2 fields pool and machine. When a form is submitted with pool and machine value, it should about saved as extra payload data. The saved data should be auto appened to any remote request payload onwards.

#solutions

  1. Extend Remote Request API to save global extra payload
  2. If global extra payload is available, attach it to current request payload

About


Languages

Language:JavaScript 62.1%Language:CSS 24.1%Language:Shell 8.6%Language:HTML 5.2%