Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

shell curl path of json file as parameter without temporal file

curl 
    --header 'Content-Type: application/json' 
    --data-binary '@/Users/david/Downloads/temp.txt' "$API_ENDPOINT"
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #shell #curl #path #json #file #parameter #temporal #file
ADD COMMENT
Topic
Name
7+2 =