Skip to content
New issue

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

[Feature Request]Support runscript callbackHeader #1793

Closed
hellozepp opened this issue Jul 8, 2022 · 1 comment
Closed

[Feature Request]Support runscript callbackHeader #1793

hellozepp opened this issue Jul 8, 2022 · 1 comment

Comments

@hellozepp
Copy link
Contributor

问题描述
我在使用异步执行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"}");

@hellozepp
Copy link
Contributor Author

#1787 closed,reopen it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants