POST form-data file upload + JSON

POST form-data file upload + JSON

Valentin Despa

3 года назад

155,580 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mẫn Nguyễn
Mẫn Nguyễn - 24.10.2023 17:54

I encountered the error "This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings" after uploading the files. Could you help me fix it, please? Thank you so much.

Ответить
Ferdinand Juko Randrianirimiadana
Ferdinand Juko Randrianirimiadana - 10.10.2023 16:17

You gonna have a new subscriber today bro🤞

Ответить
Yahia Soliman
Yahia Soliman - 02.10.2023 14:13

thank you

Ответить
Bogusz Mędykowski
Bogusz Mędykowski - 15.09.2023 08:51

thankS!

Ответить
Khaja Muhammad
Khaja Muhammad - 21.08.2023 08:42

Hi ,
Thanks for the content.
I have a use case: to upload files to Share Point.
I followed your steps and im able to upload.
After uploading i tried to open the file but it shows error: "it looks like we dont support this file format"
Can you please help to resolve the issue

Ответить
TheChrisnextel
TheChrisnextel - 17.08.2023 11:05

Why does your result show as JSON but mine simply shows the HTML from the PHP file I'm sending my post request to?

Ответить
Vedanthi Karthik
Vedanthi Karthik - 10.08.2023 19:19

I have application deployed in websphere, I need to pass a json where values are in Scandinavian characters. But I'm getting a garbage value when I receive. Let me know when can be done

Ответить
Anusha T N
Anusha T N - 25.07.2023 15:16

I have huge json request. If i paste it in postman it becomes stuck. How can I paste it in a text file and pass as form-data in postman?

Ответить
Hafsa dolly
Hafsa dolly - 13.07.2023 16:20

Not working

Ответить
Helsinki Red
Helsinki Red - 25.05.2023 14:39

when i select application/json in content type for data, it's not sending the data in json format, it is sending as a string. can you please help me with this.

Ответить
قناة أحداث و روايات
قناة أحداث و روايات - 08.04.2023 03:34

Hi tanks for your videos, when upload file Take this note: This file isn't in your working directory. Teammates you share this request with won't be able to use this file, yo make collaboration easier you can setup your working directory in settings, whats the problem and give me solution plz. I use
Selected location postman/file and on allow reading files outside working directory , but don't working.

Ответить
Suraj Gaur
Suraj Gaur - 02.04.2023 18:02

I want to send a json file, a image file and a list of image file, How do I do this? When I use form data and send the data it says '415 Unsupported Media Type'. Could you help me to short this out?

Ответить
yogesh patil
yogesh patil - 24.03.2023 08:15

Show ur code

Ответить
Guptha A
Guptha A - 10.03.2023 07:52

Can you please show the file upload example video with query params, path params, body param , in one POST API request, thanks

Ответить
GoUrAv
GoUrAv - 09.03.2023 13:46

Is necessary our first filed is file type in form-data. If my input fields only form type means no any file type option so what my request is not sent because when I write console.log (req.body) so in console gives output blank curly braces {}.
When I send the request using body raw so data sent successfully. How i solve this issue.

Ответить
Sehrish Moujahid
Sehrish Moujahid - 05.03.2023 11:04

I am facing issue while uploading image

Ответить
It's Amin J
It's Amin J - 21.02.2023 16:26

You just saved me my job. Thanks.

Ответить
G Pet
G Pet - 16.01.2023 18:51

I think it is resulting text not json format to be requested

Ответить
Gulshan Kumar
Gulshan Kumar - 27.12.2022 17:14

Thank you for the video it was very helpful

Ответить
Tushar Borkar
Tushar Borkar - 17.12.2022 15:16

How to read file and json data in java code using spring boot?

Ответить