Pargat, Every web service works differently. I can tell you how to use HTTPAPI, but I cannot tell you want is needed for a specific web service. If you know what the web service expects, and just need to know how to code that HTTPAPI, then I can help you. (But you have to tell me what it expects.) The format you're sending is rather strange -- I don't know if it is right or wrong because I'm not familiar with this web service, but it is highly suspcious to me because it's so different from what most others do. 1) You are doing a POST request, which allows you to send a big stream of request data -- but you're not using it and instead are putting all your data in the URL. That's very suspcious. 2) Also closely related to #1, you are telling it that your request data is in application/json format, but you are not sending any request data -- so that doesn't make much sense. 3) You have both form fields (aka name/value pairs) and JSON in the same request. Most web services use one or the other, not a mixture of both. 4) It doesn't not appear that you have URL encoded your data, despite that you're putting it in the URL. Therefore, any special characters you use could cause problems. Again -- all of this COULD be valid and expected with this web service, I have no way of knowing. But MOST web services that I've used don't work the way you've coded this. -SK On 5/6/17 7:38 PM, Pargat Singh wrote:
|
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi