Debugging effective fial url (Work in Progress)
This commit is contained in:
@@ -14,10 +14,12 @@ import {
|
||||
HoppRESTHeader,
|
||||
HoppRESTParam,
|
||||
} from "@hoppscotch/data"
|
||||
import { parseTemplateStringV } from "@hoppscotch/data/src/pathVariables"
|
||||
import { arrayFlatMap, arraySort } from "../functional/array"
|
||||
import { toFormData } from "../functional/formData"
|
||||
import { tupleToRecord } from "../functional/record"
|
||||
import { getGlobalVariables } from "~/newstore/environments"
|
||||
import { parseTemplateStringEV } from "@hoppscotch/data/src/pathVariables"
|
||||
|
||||
export interface EffectiveHoppRESTRequest extends HoppRESTRequest {
|
||||
/**
|
||||
@@ -306,7 +308,7 @@ export function getEffectiveRESTRequest(
|
||||
|
||||
return {
|
||||
...request,
|
||||
effectiveFinalURL: parseTemplateString(
|
||||
effectiveFinalURL: parseTemplateStringV(
|
||||
request.endpoint,
|
||||
envVariables,
|
||||
request.vars
|
||||
|
||||
Reference in New Issue
Block a user