diff --git a/packages/bruno-filestore/src/formats/bru/index.ts b/packages/bruno-filestore/src/formats/bru/index.ts index df83a88a1..36ed8afc1 100644 --- a/packages/bruno-filestore/src/formats/bru/index.ts +++ b/packages/bruno-filestore/src/formats/bru/index.ts @@ -49,7 +49,7 @@ export const bruRequestToJson = (data: string | any, parsed: boolean = false): a requestType === 'grpc-request' ? _.get(json, 'grpc.method', '') : String(_.get(json, 'http.method') ?? '').toUpperCase(), - url: _.get(json, urlPath[requestType], urlPath.default), + url: _.get(json, urlPath[requestType], _.get(json, urlPath.default)), headers: ['grpc-request','ws-request'].includes(requestType) ? _.get(json, 'metadata', []) : _.get(json, 'headers', []), auth: _.get(json, 'auth', {}), body: _.get(json, 'body', {}),