Hi, Tauseef

Based on the screenshot you provided, it appears that you have not included
the '@' prefix before the file path in your curl command. This prefix is
necessary to indicate to curl that the specified argument should be treated
as a file to be uploaded. Please add the '@' prefix before the file path
and try again.


Best regards, Junrui



Tauseef Janvekar <tauseefjanve...@gmail.com> 于2023年11月6日周一 22:27写道:

> I am using curl request to upload a jar but it throws the below error
>
> [image: image.png]
> Received unknown attribute jarfile.
>
> Not sure what is wrong here. I am following the standard documentation
> https://nightlies.apache.org/flink/flink-docs-master/docs/ops/rest_api/
>
> Please let me know if I have to use some other command to upload a jar
> using "/jars/upload" endpoint
>
> I also tried to upload using webui but it hangs continuously and only
> calls GET api with 200 success- https://flink-nyquist.hvreaning.com/jars
>
> Thanks,
> Tauseef
>

Reply via email to