0

I am using http POST method to send request to server. Sending the header part is fine. But i want to get the body part directly from a directoy instead of a zipped file. Is it possible? If yes how can we do so?

I am trying with zipped file and that is working but i want to understand actually what will happen in case of directory.

  • 2
    Please edit your question to add more information. What library or framework are you using to "POST using a zipped file"? What is your actual code? See https://stackoverflow.com/help/how-to-ask Also if you mean you are POSTing with a file attachment, that is form-multipart encoding where you attach a file as data, you can't attach a directory path, see https://stackoverflow.com/questions/4526273/what-does-enctype-multipart-form-data-mean – Dave S Mar 07 '23 at 19:55

0 Answers0