Could you please provide me an example where header and query params as are passed as request and getting array of object as response. Right know i hv implemented the above said scenario and i am getting 404 error during preflight.
On Wednesday, April 5, 2017 at 11:56:51 AM UTC+5:30, Dinesh Babu wrote: > > could some one on this below example please. provide me the json file > similar to the below example. > > On Tuesday, April 4, 2017 at 7:43:56 AM UTC+5:30, Dinesh Babu wrote: >> >> I tried with the default example provided by Swagger(PetStore on Heroku). >> In order to explore how it works after introducing header(token), added the >> header(below code for reference). >> >> >> <https://lh3.googleusercontent.com/-J7qvUy7V5_4/WOMBPiPbrrI/AAAAAAAAACU/7qk0upSSXf0WKj_fM43PVk15RQtlvktPwCLcB/s1600/DuhFM.png> >> >> >> On Tuesday, April 4, 2017 at 1:30:34 AM UTC+5:30, Ron wrote: >>> >>> Are you using swagger-ui or swagger-editor? >>> >>> Can you share your spec? >>> >>> >>> >>> >>> >>> >>> >>> *From: *<swagger-sw...@googlegroups.com> on behalf of Dinesh Babu < >>> onlinepur...@gmail.com> >>> *Reply-To: *"swagger-sw...@googlegroups.com" < >>> swagger-sw...@googlegroups.com> >>> *Date: *Monday, 3 April 2017 at 2:02 >>> *To: *Swagger <swagger-sw...@googlegroups.com> >>> *Subject: *Header undefined >>> >>> >>> >>> Hi >>> >>> >>> >>> I have a Rest api which is GET verb, which accepts Authorization as >>> header and return type is array of objects. In this scenario i am getting >>> header undefined error in swagger.io. But when i copy,paste the script >>> generated by swagger to fiddler it work fine. Could some one help on this?. >>> if any one has come across this scenario could you please share the json >>> file?. >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Swagger" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to swagger-swaggersocket+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- You received this message because you are subscribed to the Google Groups "Swagger" group. To unsubscribe from this group and stop receiving emails from it, send an email to swagger-swaggersocket+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.