and i login in my local dashboard, import the api from swagger, but , now , how i could invoke the api . just like the example tyk_gateway(use a brower and type:http://localhost:8080/tyk-api-test/get)
okay
what i have done:
i finished my rest api , and i deploy it. for example, i can visit http://xxx.xxxx.xxx/v1/api/basic/tb_build/12 then i will get the detail info witch build id equals 12. but , now i import the API from swagger, and i set up the tartget URL with my own service , at the same time, i write the mock data for each API
what is my expecting:
now i use gateway to proxy my service, i just want to get a URL(it’s not my own service, just a proxy url), then i can use it to get the api data. i even wonder if i haven’t the target url, but i get the api mock response, if i can get the mock data???
okay, now i just don’t know how to invoke my API after i create the api on tyk