Open teb510 opened 2 months ago
if i make a call with the debug output when it shows the entire final request - the url does not include the port - the request below was for localhost:8000/anything:
localhost:8000/anything
{ "action": "value", "name": "response_body", "type": "application/json", "value": { "args": {}, "data": "", "files": {}, "form": {}, "headers": { "Accept": "*/*", "Content-Type": "application/json", "Host": "httpbin.org", "User-Agent": "curl/8.7.1", "X-Amzn-Trace-Id": "Root=1-66c3707c-1f49e42b531803940e2b5503", "X-Datakit-Debug-Trace": "1", "X-Foo": "Bar", "X-Forwarded-Host": "localhost", "X-Forwarded-Path": "/anything", "X-Hello": "World", "X-Kong-Request-Id": "13335a7261ab48470673f84dd7802955", "X-Name": "United States" }, "json": null, "method": "GET", "origin": "192.168.65.1, 66.27.103.214", "url": "https://localhost/anything" } }
Anything under value is actual response body. So, the url key there was produced by httpbin.org/anything, not by Datakit.
value
url
httpbin.org/anything
if i make a call with the debug output when it shows the entire final request - the url does not include the port - the request below was for
localhost:8000/anything
: