Forum Academy Marketplace Showcase Pricing Features

API call without headers

Hi! I’m trying to have my API connector calls made from the browser. This requires me to remove all the headers. This worked and I can initialize the call without headers. But when I actually run the app my PUT request fails because it does not have a Content-Length header automatically added to it, it does have a Content-Type: application/json header though.

Has anyone found a solution to this problem, or does anyone maybe know of a way to handle these types of calls in Flask/Python without the Content-Length header?

The error message I get in Bubble is:

“Error connecting to Mongo API - Contract: expected a 2XX statusCode but got 0”

Thanks in advance!