Tyk Cloud - Pre-Request and Post-Request Middleware

Hey Guys,

My scenario is as follows, I wanted to know if it’s possible to achieve the same via Tyk Cloud offering.

  1. Request coming from end user (Contains Auth Header and other request body params)
  2. I need to validate the Auth Header with third party AuthService (Via making a POST request to third party URL)
  3. Make POST request to third party service for some parameters based on end user request.
  4. Make request to my UpStream API using parameters from Step 3
  5. Receive and transform response from step 3 and send back to end user.

I am looking to achieve this with Tyk Cloud solution.
IF it’s not possible through Tyk Cloud, then please let me know if it’s possible via On Premises.