Http request Wizard parameters with the same name

Hi @Povilas_Jonikas

To construct the URL-encoded query string, you can use the String.Format method or string concatenation to build the body as a string. Here’s an example:

"username=signeda" +
"&password=" + Uri.EscapeDataString("aaaaaaaaaaa") +
"&user_token=" + Uri.EscapeDataString("aaaaaaaaaaaaaaaa") +
"&car_id=" + Uri.EscapeDataString(CurrentRow.Item("car_id").ToString) +
"&category_id=" + Uri.EscapeDataString(CurrentRow.Item("category_id").ToString) +
"&quality=" + Uri.EscapeDataString(CurrentRow.Item("quality").ToString) +
"&status=" + Uri.EscapeDataString(CurrentRow.Item("status").ToString) +
"&position=" + Uri.EscapeDataString(CurrentRow.Item("position").ToString) +
"&notes=" + Uri.EscapeDataString(CurrentRow.Item("notes").ToString) +
"&manufacturer_code=" + Uri.EscapeDataString(CurrentRow.Item("manufacturer_code").ToString) +
"&visible_code=" + Uri.EscapeDataString(CurrentRow.Item("visible_code").ToString) +
"&other_code=" + Uri.EscapeDataString(CurrentRow.Item("other_code").ToString) +
"&internal_notes=" + Uri.EscapeDataString(CurrentRow.Item("internal_notes").ToString) +
"&photo=" + Uri.EscapeDataString(CurrentRow.Item("photo").ToString) +
"&photos[]=" + Uri.EscapeDataString(CurrentRow.Item("photos_1").ToString) +
"&photos[]=" + Uri.EscapeDataString(CurrentRow.Item("photos_2").ToString) +
"&photos[]=" + Uri.EscapeDataString(CurrentRow.Item("photos_3").ToString) +
"&photos[]=" + Uri.EscapeDataString(CurrentRow.Item("photos_4").ToString) +
"&price=" + Uri.EscapeDataString(CurrentRow.Item("price").ToString)

In this example, I have removed the << >> and double & characters. The Uri.EscapeDataString method is used to properly URL-encode the values and handle any special characters within them.

I hope it works!!

1 Like