Tyk show posted parameters

Dear Tykers,

Im building an api which has an endpoint that should accept post data, i dont want to pass these data in the url as the below

getresponse/{id}

instead of that, i want to stop at “getresponse” and send parameters via post method, could you please help me find/ print/ log the posted parameters and use them in an ajax request inside “virtual point” way since i need to do some modefications on them before replying?

Thank you in adavance

Hi

https://tyk.io/docs/compose-apis/demo-virtual-endpoint/

If you look at this example it shows how to acces the different request elements inside a virtual endpoint.

Thanks
Josh

1 Like