Dear All,
I am trying to do some POST / GET via Nginx.
What I want to do is that if I have a GET REQUEST as below
GET http://someurl/data/xxxx, it should be rewritten to
POST http://someurl/ with postdata like {contentid:xxxx}
And, if there is a POST request as below
POST http://someurl/xxx with postdata like {name:"TE", cef[field_text]:"some content with html"}, it should be rewritten to
POST http://someurl with postdata like {contentid:xxx,name:"TE", cef[field_text]:"some content with html"}
Is this possible and if so any help to achieve this would be much appreciated.
Thanks,
Geek876