You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@predictionio.apache.org by "Huang, Weiguang" <we...@intel.com> on 2017/12/22 03:19:51 UTC

RE: image file as query

Also, after pio deploy, is it possible to have curl to send an image file as the query?
All the pio templates/examples accept the uploaded queries as json, for example the below
curl -H "Content-Type: application/json" -d '{ "user": "1", "num": 4 }' http://localhost:8000/queries.json

Thanks for your ideas.

Best,
Weiguang
From: Huang, Weiguang [mailto:weiguang.huang@intel.com]
Sent: Friday, December 22, 2017 9:22 AM
To: user@predictionio.apache.org
Subject: Pio API doc

Hi guys,

The pio API doc link http://predictionio.incubator.apache.org/api/current/#package seems down. My browser shows:
Not Found
The requested URL /api/current/ was not found on this server.
Has anyone looked up the link successfully? Or the doc has a new link?
Thanks,
Weiguang