Skip to content

We need to be able to get Raw body's request data from API #10339

@alanxp

Description

@alanxp

Describe the problem

When we get a request from our API, i can't seem to get the raw body request that stripe needs for the webhooks so i can't process payments lol. Been very frustrating, already searched for days, gpt + bard + forums and nothing. Stripe needs the body request untouched without any sveltekit's processing on it.

So using request.text() it wont help since it already has some processing.

Describe the proposed solution

Be able to get request.rawData

Alternatives considered

The only idea to make it work is to use a custom node server but that's just not the ideal

Importance

i cannot use SvelteKit without it

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions