Skip to content

Commit 3ebf56c

Browse files
authored
Fix generating of URL when debugging REST services (#1528)
1 parent 5ee88a9 commit 3ebf56c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/commands/restDebugPanel.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ interface WebviewMessage {
2020
bodyType: string;
2121
/** Request body */
2222
bodyContent: string;
23-
/** Selected web application */
24-
webApp: string;
2523
}
2624

2725
/**
@@ -358,7 +356,7 @@ export class RESTDebugPanel {
358356
axios
359357
.request({
360358
method: message.method,
361-
url: `${encodeURI(`${serverInfo}${message.webApp}${path}`)}?${urlParams.toString()}`,
359+
url: `${encodeURI(`${serverInfo}${path}`)}?${urlParams.toString()}`,
362360
headers,
363361
data: hasBody ? message.bodyContent : undefined,
364362
withCredentials: true,

0 commit comments

Comments
 (0)