Bug? Problems with httputils after first call

bluedude

Well-Known Member
Licensed User
Longtime User
Hi,

I always get bad requests if I call httputils a second time.

In my code I do this:

httpRTB.Initialize("rtb", Me)
httpRTB.PostString("http://api.removethebackground.com/REST.svc/Image/", jsonData)
httpRTB.GetRequest.SetContentType ("application/json")

So basically i'm sending a json payload to a webservice. First time it succeeds but second time always ends with a Bad Request while I know the webservice is up and operational.

Any suggestions?
 
Top