Implement Additional HTTP Methods in axum-js
#4
Labels
enhancement
New feature or request
good first issue
Good for newcomers
hacktoberfest
help wanted
Extra attention is needed
implementation
To make
axum-js
a more comprehensive and versatile API framework, it's essential to extend support to all standard HTTP methods. As of now, only theget
method is implemented. This task involves adding the remaining standard HTTP methods:post
,put
,delete
,options
,head
,patch
,trace
, andconnect
.Each method should accept a path (as a string) and a callback function, similar to the existing
get
method. This enhancement should follow the pattern established in Issue #3 (Extendget
Method to Support Callbacks).Example for the
post
method:Acceptance Criteria:
post
,put
,delete
,options
,head
,patch
,trace
, andconnect
methods, adhering to the callback support pattern established in Issue Extend get Method to Support Callbacks #3.STYLE_GUIDE.md
and be consistent with existing code patterns.Dependencies:
get
Method to Support Callbacks).Additional Context:
Implementing these additional HTTP methods will significantly enhance the versatility and utility of
axum-js
, aligning it with other full-featured server frameworks.The text was updated successfully, but these errors were encountered: