Mulitpart

Hi ,
how to test multipart rest Api in katalon studio through script??? Please help me. If u any example provide me…

Thanks.

Could you clarify your question, input more detail.

1 Like

Brian Ducson said:

Could you clarify your question, input more detail.

I need to test api i.e. multi part api one part contains id,title,description and another part contains multi media file like image,mp3 and video files…My question is how to test multipart api in katalon studio if u have any example pls help me to test my api…

Thanks

I think you shoud specify it clearly with the actual api to get help from the communities.

Brian Ducson said:

I think you shoud specify it clearly with the actual api to get help from the communities.

–3959f9d4-f185-416d-97e9-66ad032792ed

Content-Type: application/json

{

“ads”:

[

{

“title”:“KFC”,

“desc”:“Burger Ads”,

“mediaType”:“image/jpg”

}

]

}

–3959f9d4-f185-416d-97e9-66ad032792ed

Content-Type: image/jpg;

Content-Transfer-Encoding: base64

/9j/4AAQSkZJRgABAQAAAQABAAD//gA7Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2NjIpLCBxdWFsaXR5ID0gODIK/9sAQwAGBAQFBAQGBQUFBgYGBwkOCQkICAkSDQ0KDhUSFhYVEhQUFxohHBcYHxkUFB0nHR8iIyUlJRYcKSwoJCshJCUk/9sAQwEGBgYJCAkRCQkRJBgUGCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQk/8AAEQgBQAKUAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkK

–3959f9d4-f185-416d-97e9-66ad032792ed–

The above is multi part for request body string…So like this how i can make mulit part request in Katalon Studio???