diff --git a/packages/bruno-app/src/utils/codegenerator/har.js b/packages/bruno-app/src/utils/codegenerator/har.js index 5fde79610..0f2656370 100644 --- a/packages/bruno-app/src/utils/codegenerator/har.js +++ b/packages/bruno-app/src/utils/codegenerator/har.js @@ -51,7 +51,7 @@ const createPostData = (body) => { export const buildHarRequest = ({ request, headers }) => { return { method: request.method, - url: request.url, + url: encodeURI(request.url), httpVersion: 'HTTP/1.1', cookies: [], headers: createHeaders(headers),