@guna This is a post request you need to post on endpoint https://kite.trade/connect/basket with params api_key and data where data is a JSON string of the following format.
So, for example, you want to integrate this in your Android app. You need to construct the data param and make a post request to webview (url - https://kite.trade/connect/basket).
@guna Yeah it's sent in the body just like any other normal post request. FYI you can also send as a JSON content type or standard application/x-www-form-urlencoded.
After posting the request I am getting html response .In ios we cant store the html response(objective c).Instead of that we should get url as response to redirect the user. Also can you please let us know, if we have to again confirm and submit these basket orders from the redirected webpage?
Hi @guna, You need to make a post request in webview and not as an HTTP post request. Once you open page user will confirm to place an order, so you don't have to worry about it. PS: Confirmation is done at our end.
You can check documentation here.
The response will be html and it is used to create basket orders for Kite publisher users.
https://kite.trade/connect/basket
with paramsapi_key
anddata
where data is a JSON string of the following format. So, for example, you want to integrate this in your Android app. You need to construct thedata
param and make a post request to webview (url - https://kite.trade/connect/basket).application/x-www-form-urlencoded
.After posting the request I am getting html response .In ios we cant store the html response(objective c).Instead of that we should get url as response to redirect the user. Also can you please let us know, if we have to again confirm and submit these basket orders from the redirected webpage?
Thanks in advance
You need to make a post request in webview and not as an HTTP post request.
Once you open page user will confirm to place an order, so you don't have to worry about it.
PS: Confirmation is done at our end.