Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

can we send image in json in angular

curl -i -X POST -H "Content-Type: multipart/form-data" 
-F 'user={"name":"John","age":12};type=application/json' 
-F "file=@myfile.txt" http://localhost:8080/post
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #send #image #json #angular
ADD COMMENT
Topic
Name
8+6 =