npkhoa2197

Results 4 comments of npkhoa2197

Thanks @benoitc for the quick response, But in my case, I have a file upload, which is in `document_file`. So I think I must use `multipart/form-data`?

Dear @benoitc, Please correct me if I am wrong. Since the request I am making has 2 fields, one of them is a file. So, as far as I know,...

I log the request on the server and only receive the file but the text fied (which is `document_type`). Still working on it

Dear @benoitc, For text fields in `multipart/form-data`, in my opinion, it is not necessary to have explicit `content-type` (comparing to other data). After spending time reading the source code of...