I think you could to that with JsonObject if I understood correctly)
procedure YourProcedure()
var
Client: HttpClient;
Content: HttpContent;
Response: HttpResponseMessage;
jObj: JsonObject;
OrderNo: Code[20];
SubFolder: Text;
begin
SubFolder := 'ArtWork'; //Currenly passing hardcode value
OrderNo := 'SO12345'; //Currenly passing hardcode value
JobJ.Add('Parameter1', OrderNo);
jObj.Add('parameter2', SubFolder);
Content.WriteFrom(Format(jObj));
Client.Post('http://xyz.com/create/', Content, Response);
end;
Is it what you want to do ?