You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/11/21 17:51:34 UTC

[GitHub] [apisix-dashboard] liuxiran edited a comment on issue #835: [Proposal]: Refactor route debug online

liuxiran edited a comment on issue #835:
URL: https://github.com/apache/apisix-dashboard/issues/835#issuecomment-731611936


   > how about postman?
   
   Postman is powerful and the user experience is very good, unfortunately, Its UI is not included in postman's many open source parts[1].🤦‍♀️
   
   There is an open source alternative for postman: **postwoman**, I simply experience its online demo environment[2], which is similar to postman. Postwoman is a Vue wrote open source project[3], and it has not been encapsulated as an out-of-the-box library. We can consider learning from its implementation, not convenient for direct use.
   
   During the searching, I also looked through some simple online API debugging tools, I prefer one of them: sojson[4], its page is refreshing and it is easy to operated. The disadvantage is that it can only test the APIs of the HTTP protocol, and there is no special treatment about authentication section. BTW, this is also not an OSS🤦‍♀️
   
   Through this search, I also know that in addition to postman, there are many good API debugging and management tools, e.g: YApi, Eolinker and so on. This also got me thinking:  **do we need to provide users with a powerful API debugging tool, or just need to help users confirm that the api published on the APISIX can be used?** IMHO, perhaps the latter is more demanding😊
   
   Based on the above, my proposal is:
   
   - combine postwoman and sojson to implement a simple online debugging page in the dashboard. It does have a little bit of code, but they are  all basic form operations, and the cost of maintenance is manageable. 
   
   - support testing APIs of HTTP protocol first
   
   - as authentication is an important part of APIs, this part is also needed, and we can refer to postwoman's implementation
   
   Just wait for others suggestion😊
   
   Reference:
   [1]: https://github.com/postmanlabs
   [2]:https://hoppscotch.io/?method=GET&url=https://httpbin.org&path=/get
   [3]:https://github.com/luckyleihuan/Postwoman
   [4]:https://www.sojson.com/http/test.html
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org