Skip to content

Switch getting job details from a GET to a POST#17

Open
Chuxel wants to merge 1 commit into
mainfrom
chuxel/switch-job-fetch-to-post
Open

Switch getting job details from a GET to a POST#17
Chuxel wants to merge 1 commit into
mainfrom
chuxel/switch-job-fetch-to-post

Conversation

@Chuxel

@Chuxel Chuxel commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Part of internal updates to this endpoint.

Copilot AI review requested due to automatic review settings June 12, 2026 03:47
@Chuxel Chuxel requested a review from a team as a code owner June 12, 2026 03:47
GitHub Advanced Security started work on behalf of Chuxel June 12, 2026 03:47 View session

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

This PR updates the PlatformClient.fetchJobDetails() request to use POST instead of GET when retrieving job details from the platform API, aligning the SDK with an internal endpoint change.

Changes:

  • Switch fetchJobDetails() HTTP method from GET to POST.
Show a summary per file
File Description
src/client.ts Changes the job-details request method to POST to match the updated platform endpoint behavior.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 1

Comment thread src/client.ts
Comment on lines 462 to 465
const response = await fetch(url.toString(), {
method: "GET",
method: "POST",
headers: this.headers,
});
GitHub Advanced Security finished work on behalf of Chuxel June 12, 2026 03:48
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