亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

How to PHP simulate curl transfer under cmd to download files
Suo
Suo 2021-05-22 00:52:29
0
0
1122

Recently I found a GAN algorithm on github to turn old photos into color, so I put it on the server and tried it. I wanted to call the api through php to download the converted pictures, but I found many tutorials on the Internet and couldn't succeed.

The following is achieved through cmd:

curl -X POST "http://suoran.ddns.net:5000/process"

-H "accept: image/png" -H "Content-Type: application/json"

-d "{\"url\":\"http://www.afrikanheritage.com/wp-content/uploads/2015 /08/slave-family-P.jpeg\", \"render_factor\":35}"

--output colorized_image.png

Someone can Solve it

Suo
Suo

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template