Project

General

Profile

Actions

Task #600

open

User story #594: Board live search

Javascript method for Ajax POST request

Task #600: Javascript method for Ajax POST request

Added by Smith Paul about 1 month ago. Updated about 2 months ago.

Status:
In Progress
Priority:
Normal
Target version:
-
Start date:
08/16/2026
Due date:
08/24/2026 (43 days late)
% Done:

0%

Estimated time:
14:00 h
Company custom field:
Deals:
Contacts:
Sprint:
Sprint #1 (Aug 04 - Aug 18)

Description

Build a reusable JavaScript method to perform an AJAX POST request using fetch, sending JSON payloads and handling CSRF tokens when required. The method should validate inputs, set correct headers, and serialize/deserialize JSON safely. It must implement robust error handling for non-2xx responses, network failures, and timeouts, returning a clear, Promise-based result. Include concise documentation and examples so it can be dropped into any project with minimal setup.

Actions

Also available in: PDF Atom