Imported Google Group message. Original thread at: https://groups.google.com/forum/#!topic/tyk-community-support/qmT9R-pSzLk Import Date: 2016-01-19 21:43:04 +0000.
Date:Tuesday, 12 January 2016 21:00:44 UTC.
I’m attempting to create my first virtual endpoint using Tyk. I’m currently using the dashboard UI / endpoint designer. I’m running the whole stack (gateway, dashboard, mongo, redis) using the supplied docker-compose config (version 1.9).
I’m unable to get even the most basic virtual endpoint operational. By using the endpoint designer I’ve entered “sampleVirtual” for the “JS function to call” and entered the function definition for “sampleVirtual” below it in the “Code Editor:” field. I’m not sure what I’m missing for this JS code to trigger when that endpoint is requested. Every-time I request that endpoint I simply get a “404” and nothing is displayed in the logs.
If there is a super simple sample that I could use for those two fields to ensure I’m not doing something silly, that would be amazing!
Any help you could provide would be awesome!