The Wayback Machine - https://web.archive.org/web/20220212061601/https://github.com/explore
Skip to content

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

Linux logo

Popular topic

Linux is an open source kernel.

App recommended by GitHub

Codefresh

Build fast, deploy faster

Codefresh is a container-native CI/CD platform running on Kubernetes with embedded caching to provide maximum performance and high scalability.

Assemble pipelines in seconds

In Codefresh, every step in your pipeline is a Docker image, leverage the many out-of-the-box images available already in the codefresh plugins page to assemble your first pipeline or create your own custom steps using any Docker image.

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

Sonatype Lift

Sonatype Lift helps you find and fix your most elusive bugs so you can spend time writing great code, not debugging it. Lift looks for a broad range of performance, security, and reliability errors in the code you write and the libraries you depend on, making it an ideal all-in-one bug catcher for your entire company. Running at each pull request, Lift delivers results as code review comments so you can fix bugs in minutes. (Yes really)