I already tried using ctx.$location=“/targetpath”
but the forwarded request change to get Method, not the original post method.
Asked
Active
Viewed 401 times
0

Udhav Sarvaiya
- 9,380
- 13
- 53
- 64

Verky Yi
- 1
- 1
1 Answers
1
It is not a Moleculer issue. You should set 307 status code to keep method. More info: https://stackoverflow.com/a/17612942/129346
ctx.meta.$statusCode = 307;
ctx.meta.$location = "/targetpath";

Icebob
- 1,132
- 7
- 14