cancel
Showing results for 
Search instead for 
Did you mean: 

Web API multi form body

omkarinamake12
Level 3

I have to consume an API for multi form body. I am using http request multipart with file metadata and fieldmeta collections but getting 403 error

Please refer below picSAVE_20250123_184556 (1).jpg

16 REPLIES 16

@omkarinamake12 

What did you provide for this element 'file' is it a binary file or a path to the excel file?

1000080717.jpg

Excel file path. 

 

@omkarinamake12 

Ok lets try this :

Remove the filemetadata from the input parameters i mean remove this : 

1000080746.jpg

 now open fieldmetadata collection and add 'file' to name and  the excel file path to the value i mean here :

1000080749.jpg

 try to make it in the same order of your postman template.

Refresh, Save, run and let me know please 

omkarinamake12
Level 3

Yes I tried but getting same result as 403.

omkarinamake12
Level 3

Thank you @Mohamad_747 

Finally I am able to do that. 

@omkarinamake12 

Worked with my final method ?

Kept file collection only did not add file in field data. 

I guess issue was with URL. Some input parameters  in url were incorrect

Thankful to your all efforts and help.