1

Sending file to a php script works fine with curl from terminal but not through advanced rest client or postman.

Curl request-

curl -v --form filename=@/cus-check.json --form name=Upload http://127.0.0.1/cus.php

When sending the same request through ARC or Postman, the $_POST variable in php script returns an empty array.

Images

Image 1
Image 2

0 Answers0