Apisix-dashboard: OnlineDebug throws error when sending request

Created on 19 Dec 2020  路  8Comments  路  Source: apache/apisix-dashboard

Bug report

Describe the bug

鍥剧墖

How to Reproduce

  1. Visit http://139.217.190.60/routes/list
  2. Go to Route list;
  3. Click on Online Debug;
  4. Input path "/hello";
  5. Click Send Request then error shown;
backend documentation enhancement

Most helpful comment

Hi @juzhiyuan @liuxiran , since #1091 and #1092 had been merged, so shall we close this issue?

Thanks for your reminder @imjoey , another pr for update the debug api error msg is on the way, I will finish it ASAP

All 8 comments

Please take a look when you have time :)

cc @liuxiran

鍥剧墖

need to fill in the full URL of the request in the url input, e.g: http://ip:port/hello @juzhiyuan

Perhaps a simple FAQ can help users quickly know how to use this feature, let me add it. ^_^

oh I know what happened, the error says the protocol for that URL is missing 馃槀

oh I know what happened, the error says the protocol for that URL is missing 馃槀

yes you are right~! perhaps I need to do another enhancement

  • a clearer information about the error is needed here
  • fe add a input validation to reject not validate url

Hi @juzhiyuan @liuxiran , since #1091 and #1092 had been merged, so shall we close this issue?

Hi @juzhiyuan @liuxiran , since #1091 and #1092 had been merged, so shall we close this issue?

Thanks for your reminder @imjoey , another pr for update the debug api error msg is on the way, I will finish it ASAP

As all prs has been merged, close this issue, feel free to reopen it when you need, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bisakhmondal picture bisakhmondal  路  5Comments

stu01509 picture stu01509  路  3Comments

totemofwolf picture totemofwolf  路  3Comments

juzhiyuan picture juzhiyuan  路  3Comments

membphis picture membphis  路  6Comments