Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Upload file failed Postman

I am using postman(v7.7.3) and I have got the following warning when I upload the file to send the body as a form-data. "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 set up your working directory in Settings." How can I solve it?

like image 419
jin jin Avatar asked Feb 03 '20 09:02

jin jin


People also ask

Where is the postman working directory?

The file path is relative to your working directory. Postman uses ~/Postman/files as the default working directory. To use a different working directory, select Choose and then select the directory you want to use.


2 Answers

renaming the directory "C:/Users/Postman Agent" to "Postman".

like image 147
Cristian Vargas Avatar answered Sep 18 '22 00:09

Cristian Vargas


For windows:

Probably there are two ways to tackle this:

  1. Save the file in the working directory itself in the actual file location of Postman for me it was in C:\Users\xxxx\Postman\files
  2. Open the settings ( Ctrl + Comma ) and in General\Working Directory.
    Change the default settings of Allow reading files outside working directory to ON like shown below:

Settings

like image 20
Arijit Kundu Avatar answered Sep 19 '22 00:09

Arijit Kundu