Skip to content

Added POST method#67

Merged
djthorpe merged 1 commit into
mainfrom
djt/0701/post
Jul 2, 2026
Merged

Added POST method#67
djthorpe merged 1 commit into
mainfrom
djt/0701/post

Conversation

@djthorpe

@djthorpe djthorpe commented Jul 2, 2026

Copy link
Copy Markdown
Member

This pull request adds support for the HTTP POST method in the payload.go file by introducing a new MethodPost variable, consistent with the existing HTTP method variables.

  • Added MethodPost variable to support HTTP POST requests (payload.go).

Copilot AI review requested due to automatic review settings July 2, 2026 13:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a reusable MethodPost request preset in payload.go, aligning POST with the existing global HTTP method helpers for constructing empty requests.

Changes:

  • Introduced MethodPost = NewRequestEx(http.MethodPost, types.ContentTypeAny) alongside the existing MethodGet, MethodHead, MethodDelete, and MethodPut globals.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@djthorpe djthorpe merged commit c8257e1 into main Jul 2, 2026
6 checks passed
@djthorpe djthorpe self-assigned this Jul 2, 2026
@djthorpe djthorpe deleted the djt/0701/post branch July 2, 2026 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants