Multi form-data not working

I am facing problem while uploading pdf or image file through postman. I am using form-data but request body return undefined. I have written http post request in python. Below is the screenshot

Hi @nehaspost. Welcome to the Postman Community :postman_logo:.

I am not sure this is an issue with Postman. It appears that the server is expecting a different file format. One different from the form-data format you’re using to send the data. It would be helpful to confirm which format the server is expecting to receive this file in (i.e binary, URL, etc) and use the appropriate format.