Created by: cheesestringer
When sending a string sendBeacon has a Content-Type of text/plain. Using a blob allows us to set the Content-Type to application/json and avoid an Unsupported Media Type (415) response.
Created by: cheesestringer
When sending a string sendBeacon has a Content-Type of text/plain. Using a blob allows us to set the Content-Type to application/json and avoid an Unsupported Media Type (415) response.