Skip to content

Here's what's popular on GitHub today...

Ubuntu logo

Popular topic

Ubuntu is a Linux-based operating system.
Slack + GitHub screenshot

App recommended by GitHub

Slack + GitHub

Bring your code to the conversations you care about with the GitHub and Slack app. A separate Slack subscription is required. With two of your most important workspaces connected, you’ll get updates about what’s happening on GitHub—without leaving Slack.

Trending repository

nielswart
nielswart commented Feb 11, 2022

Issue

GET requests includes a body, which is not allowed when putting the API behind a CDN such as AWS Cloudfront. This results in a 403 error.

Looking at the request in the Medusa Client class, I see that the default payload is {}

Possible Solution

make the default payload null or undefined

async request(
    method: RequestMethod,
    path: string,
    payload: obje

Trending repository

App recommended by GitHub

CodeFactor

Ensure that your code meets quality standards

CodeFactor instantly performs Code Review with every GitHub Commit or PR. Zero setup time. Get actionable feedback within seconds. Customize rules, get refactoring tips and ignore irrelevant issues.

Languages

Bash, C, C#, C++, CoffeeScript, CSS, Dockerfile, Go, Groovy, Java, JS, Kotlin, Less, PHP, Python, Ruby, Scala, SCSS, Sugar SS, Swift, TypeScript and YAML.

Autofix

Autofix certain reported issues on-demand or automatically.