Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/amazon-web-services/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 400在EchoPrint上使用Inget/fastingest时出现错误请求_Python_Audio Fingerprinting_Echoprint - Fatal编程技术网

Python 400在EchoPrint上使用Inget/fastingest时出现错误请求

Python 400在EchoPrint上使用Inget/fastingest时出现错误请求,python,audio-fingerprinting,echoprint,Python,Audio Fingerprinting,Echoprint,我正在执行以下操作以启动echo打印的codegen/server cd echoprint-server/solr/solr java -Dsolr.solr.home=/home/path/to/echoprint-server/solr/solr/solr/ - Djava.awt.headless=true -jar start.jar ttservctl start python api.py 9090 接收代码位于 是否要接收很长的代码?长度=30000 我认为api调用不能处

我正在执行以下操作以启动echo打印的codegen/server

cd echoprint-server/solr/solr
java -Dsolr.solr.home=/home/path/to/echoprint-server/solr/solr/solr/ -
Djava.awt.headless=true -jar start.jar

ttservctl start

python api.py 9090
接收代码位于


是否要接收很长的代码?长度=30000

我认为api调用不能处理太长的代码,所以我直接使用python调用。您应该尝试按照以下说明操作:


fp_代码=[无]是怎么回事?很抱歉,这是一个非常大的代码,我不想放在这里,我已经写了,但在格式化后它不知怎么消失了!
curl http://localhost:9090/ingest -d
"fp_code=<fp_code_here>&track_id=thisone&length=30000"
127.0.0.1:40197 - - [01/Jul/2011 18:06:33] "HTTP/1.1 POST /ingest" - 400 Bad Request