|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Swagger Sample |
« View previous topic :: View next topic » |
Author |
Message
|
shivaprd |
Posted: Fri Oct 28, 2016 2:27 am Post subject: Swagger Sample |
|
|
Newbie
Joined: 25 Oct 2016 Posts: 1
|
Hi All,
I am new to IIB 10 and i created REST API with swagger document.
i created swagger REST API but i am not sure how to test that.
I taken example mentioned in IIB10 with Customers data which is having 3 operations addCustomers,getCustomers,deleteCustomers.
Please provide me if you have any sample |
|
Back to top |
|
 |
timber |
Posted: Fri Oct 28, 2016 2:31 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
Many people use SoapUI to test REST and SOAP interfaces. |
|
Back to top |
|
 |
leron8 |
Posted: Mon Oct 31, 2016 1:44 pm Post subject: |
|
|
 Novice
Joined: 25 Oct 2016 Posts: 20 Location: MX
|
When you've created the REST API, in the REST API Description, at the top, you can see a REST API URL and it gives you a sample of how to access that API. Tipically "http://<hostname>:<port-number>/yourbaseurl".
Hostname would obviously be the name o ip of your server o local machine and the default port is 7800. As someone above said you can use SOAP UI, although in my case I prefer DHC or Postman which are Chrome Extensions and they're used specifically for REST APIs. |
|
Back to top |
|
 |
martinb |
Posted: Tue Nov 01, 2016 10:10 pm Post subject: |
|
|
Master
Joined: 09 Nov 2006 Posts: 210 Location: UK
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|