HTTP Request Post Error


#1

Hi,

I am trying to POST a HTTP request to RabbitMQ. I have set up the request in the same way as I have in Postman.(From postman the API Post works)

The response of the request is:

{
  "error": "bad_request",
  "reason": "not_json"
}

It seems that it is something wrong with the body of the request. I have tried numerous different ways:

“{“”count””:5,””requeue””:true,””encoding””:””auto””,””truncate””:50000}”
“{‘count’:5,’requeue’:true,’encoding’:’auto’,’truncate’:50000}”

ReadTextFile activity from a .json file.
And so on…

Nothing seems to be working. Anyone have any suggestions? Any help with the format is much appreciated :smiley:

EDIT: I managed to solve the issue with this post :slight_smile: