Qlik Community

New to Qlik Sense

If you’re new to Qlik Sense, start with this Discussion Board and get up-to-speed quickly.

cancel
Showing results for 
Search instead for 
Did you mean: 
sbumeshqlik
Contributor III
Contributor III

Qlikview RestAPI post/upload a File

Hello Experts,

Really appreciate for your  expert advise, 

We are using qlikview rest api  for our restAPI project, I need to upload the file using post. 

How do I take care of -F (highlighted in pink below)  in rest api gui, I was able to figure out how to enter  the header option  (-H)  but not  -F.

 Enclosed below CURL command for your reference.

srsbumeshqlik_2-1628951152042.png

 

curl -X POST "https://dev.myRestserver/v1/api/uploadProjectBudgetFile"             
             -H "Authorization: Bearer serverBearerCode1234567891"
            -H "Content-Type: multipart/form-data"
            -F    "FileName=XXX_Input_File.csv"
          -F     File=@XXX_Input_File.csv;
           type=application/vnd.ms-excel

Thanking you, in advance,

Regards,

Umesh

 

 

 

1 Solution

Accepted Solutions
NadiaB
Support
Support

Hi @sbumeshqlik 

Are those -F parameters? if so those should go under Query Parameters.

Kind Regards.

 

Note: if this suggestion helps to resolve the issue or answers your question, it will be appreciated if you select the "Accept as Solution" option.
We encourage you to visit our Knowledge Base https://qliksupport.force.com/QS_CoveoSearch when trying to find a solution related and not limited to: errors, feature requests, product defects. You can also visit our Qlik Help portal https://help.qlik.com/

View solution in original post

1 Reply
NadiaB
Support
Support

Hi @sbumeshqlik 

Are those -F parameters? if so those should go under Query Parameters.

Kind Regards.

 

Note: if this suggestion helps to resolve the issue or answers your question, it will be appreciated if you select the "Accept as Solution" option.
We encourage you to visit our Knowledge Base https://qliksupport.force.com/QS_CoveoSearch when trying to find a solution related and not limited to: errors, feature requests, product defects. You can also visit our Qlik Help portal https://help.qlik.com/