diff --git a/lib/codegen/php/curl.dart b/lib/codegen/php/curl.dart index b2f54e42..3f64d4bc 100644 --- a/lib/codegen/php/curl.dart +++ b/lib/codegen/php/curl.dart @@ -117,6 +117,7 @@ echo $response; result += templateStart.render(); var templateUri = jj.Template(kTemplateUri); + result += templateUri.render({'uri': stripUriParams(uri)}); //renders the request body contains the HTTP method associated with the request if (kMethodsWithBody.contains(requestModel.method) && requestModel.hasBody) {