Skip to content

http-proxy-middleware can't handle POST request in next.js #11036

Answered by timneutkens
yjisme asked this question in Help
Discussion options

You must be logged in to vote

I assume it's related to automatic body parsing:

You can disable it using the config options outlined here: https://nextjs.org/docs/api-routes/api-middlewares#custom-config

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
3 replies
@yjisme
Comment options

@yjisme
Comment options

@timneutkens
Comment options

Answer selected by timneutkens
Comment options

You must be logged in to vote
5 replies
@timneutkens
Comment options

@lionelB
Comment options

@alex-rhodes
Comment options

@ats1999
Comment options

@guven8
Comment options

Comment options

You must be logged in to vote
1 reply
@JackZheng10
Comment options

Comment options

You must be logged in to vote
2 replies
@FDiskas
Comment options

@FDiskas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
10 participants