Skip to content

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

COVID-19 logo

Popular topic

The coronavirus disease 2019 (COVID-19) is an infectious disease caused by SARS-CoV-2.
Licensebat screenshot

App recommended by GitHub

Licensebat

Licensebat seamlessly integrates with your GitHub build pipeline to make sure your current and future dependencies comply with your license policies.

Goodbye surprises and headaches when auditing your company projects.

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

DeepScan

Tired of the troubles with JavaScript? DeepScan can help you.

DeepScan is an advanced static analysis tool engineered to support JavaScript, TypeScript, React, and Vue.js.

You can use DeepScan to find possible runtime errors and quality issues instead of coding conventions. Integrate with your GitHub repositories to get quality insight into your web project.