We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述 我在使用异步执行run/script接口时,发现callback不支持设置header,而这个header在我的业务中是一个必要操作,否则会导致callback请求失败。
代码实例 添加了一个可选参数callbackHeader,使用方式如下:
params.put("callback", config.getNotebookUrl() + "/api/job/callback"); params.put("async", "true"); params.put("callbackHeader", "{"Authorization":"Bear xxxxx"}");
The text was updated successfully, but these errors were encountered:
#1787 closed,reopen it
Sorry, something went wrong.
hellozepp
No branches or pull requests
问题描述
我在使用异步执行run/script接口时,发现callback不支持设置header,而这个header在我的业务中是一个必要操作,否则会导致callback请求失败。
代码实例
添加了一个可选参数callbackHeader,使用方式如下:
params.put("callback", config.getNotebookUrl() + "/api/job/callback");
params.put("async", "true");
params.put("callbackHeader", "{"Authorization":"Bear xxxxx"}");
The text was updated successfully, but these errors were encountered: