I have tried countless times, but to no avail. I'm trying to get a simple rewrite working, but the docs section on url rewrite are a bit thin and more examples would be great.
First off, the regex syntax doesn't seem quite right and I'm not sure if I'm doing it correctly. I'm an old Perl guy who's done a TON of regexes, and something like this:
Seems to me ought to be:
But maybe your regex engine is different.
Anyhow,this is what I have:
my app has two simple URLs, both for POST and GET:
Tyk runs on port 8080, using k8s.
(note the hyphen/dash)
The underlying service is
All I want to do is if someone goes to (example)
Go to the internal URL (target_url + the following)
I have tried:
How can I do this?
Furthermore, how can I have it log specifically the rewrite and attempts to use the URL specified in the rewrite?