API Mocking in RAML | Mocking Service in RAML
We can mock our api by api mocking service of Design Center of Anypoint Platform.
first of all turn on Mocking Service as shown above in figure.
click on any http method , here i am clicking GET
Once you click GET , below screen appears then click on Try it.
once you click Try It , below screen appears
click on Send.
Once you clicked on Send below screen appears
Here you can see status code as 200 and mocked response came which we have given in RAML GET response.
No comments:
Post a Comment