include query in url
This commit is contained in:
parent
46685043e5
commit
3d27b84e2d
|
@ -157,7 +157,7 @@ pub const AwsHttp = struct {
|
||||||
log.debug("\t{s}: {s}", .{ h.name, h.value });
|
log.debug("\t{s}: {s}", .{ h.name, h.value });
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = try std.fmt.allocPrint(self.allocator, "{s}{s}", .{ endpoint.uri, request.path });
|
const url = try std.fmt.allocPrint(self.allocator, "{s}{s}{s}", .{ endpoint.uri, request.path, request.query });
|
||||||
defer self.allocator.free(url);
|
defer self.allocator.free(url);
|
||||||
log.debug("Request url: {s}", .{url});
|
log.debug("Request url: {s}", .{url});
|
||||||
var req = try zfetch.Request.init(self.allocator, url, self.trust_chain);
|
var req = try zfetch.Request.init(self.allocator, url, self.trust_chain);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user