我在AWS上运行了一个spring boot应用程序。我不时看到一个日志,上面写着并提到了ThinkPHP? java.lang.IllegalArgumentException: Invalid character found in the request target [/index.php?s=/Index/\think\app/invokefunction&function=call_user_func_array&vars[0]=md5&vars[1][]=HelloThinkPHP21].
The valid characters are defined
我有一个函数,它用一组输入调用外部系统。然后,后端系统将为所有输入提供集体结果。
稍后,我可能需要用单个输入调用该系统。我想避免这种情况,因为我以前已经得到了对输入组的响应。
我想用来自其他系统的集体响应来实现缓存。
public List<Result> process(List<Input> inputs){
// call other system collectively and cache each independent response
// later when I call each input it shall not cal external sy
我正在使用java.API构建一个应用程序。我在循环中点击api超过15000次并获得响应(响应仅是静态的)
示例
**
username in for loop
GET api.someapi/username
processing
end loop
**
打完所有电话要花上几个小时。建议我以任何方式(任何缓存技术)来减少呼叫时间。
P.S:
1)我正在访问java客户端的api (Spring模板)
2)我所打的api是公开的,不是由我开发的
3)将部署在heroku