Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions
cancel
Showing results for 
Search instead for 
Did you mean: 
nivedhitha
Creator III
Creator III

creating API - accepting query parameters from the request

Hi,

 

I have been trying to get a hand on apis and have a simple api deployed in localhost. I have designed the api to accept a parameter. But I don't receive the parameter right. Providing screenshots of my job

 

0683p000009M8J0.png

I have a post request with a parameter 'jobName'0683p000009M8Xj.png

And passing a string to the response component.

0683p000009M8Xt.png

 

0683p000009M8Xy.png

 

Im trying to making the post request from POSTMAN like this0683p000009M8Xz.png

 

But there is no response. There is also no error. whenever a request is made, the job shows 0 records processed. what is it that I'm not doing right here?

0683p000009M8Y3.png

Please provide me suggestions

 

Thanks in advance

Labels (1)
  • v7.x

1 Solution

Accepted Solutions
nivedhitha
Creator III
Creator III
Author

I fixed it. I shouldn't have passed jobName as a query parameter but it is the endpoint itself.

So making the post request like this works

http://localhost:8088/updateStepInsertEvent/apidesign/

 

 

where apidesign is the value for jobName

View solution in original post

1 Reply
nivedhitha
Creator III
Creator III
Author

I fixed it. I shouldn't have passed jobName as a query parameter but it is the endpoint itself.

So making the post request like this works

http://localhost:8088/updateStepInsertEvent/apidesign/

 

 

where apidesign is the value for jobName