Forum Discussion
Anonymous
4 years agoNot applicable
problems with POST call on REST API
Hi All I'm having issues getting a response from the server on a POST call to the REST API of interactive brokers (IB). I have now gotten the GET calls working (which had SSL/TLS errors previously)...
- 4 years ago
Hi Anonymous
Try explicitly using HTTPS, your query currently is not.
https://localhost:5000/v1/api/iserver/secdef/searchRegards
Phil
navneet0512
Helper III
4 years agolet
{
"methodType": "details",
"pageNum": "0",
"pageSize": "3",
"searchParameter": [
{
"key": "order_number",
"value": "469584336"
},
{
"key": "global_bu_id",
"value": "11"
}
],
"sourceApplication": "MORC"
}
Source = Json.Document(Web.Contents("https://goss-csvc-prod.us.MAC.com/gossv3/purchase/search/"))
in
Source
Can any one help me figure out issue. Showing Syntax error I am trying to use post api.
- lbendlin4 years ago
Super User
POST requires a Content payload.
- navneet05124 years ago
Helper III
That means
- lbendlin4 years ago
Super User