[Custom Components] Customize API request body with additional information

Open
#944 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
angular, typescript
Domain
api, frontend

Research direction

Start by locating the button-click API call and the implementation of the post-to URL option in the Angular custom components. Trace how the request body is assembled; done means users can configure the requested top-level structure and additional properties instead of being limited to data:{}.

Written by the indexing model from the issue text.

Description

help wanted question scope: community scope: custom components

This is regarding the API call in the button click. The post-to URL option is available, but adding the API's desired posting structure is impossible here.
Eg: On the API call, the post data is data:{} but if the API requires the structure form_data:{} or if we want to add any other property, it is unavailable.

Screenshot from 2023-03-14 15-48-58

Dominant language
TypeScript
Stars
706
Forks
493
PR merge metrics
No merged PRs in 30d

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from formio/angular

All issues in formio/angular

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.