Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3655

Read message from sevice bus - send to a web api

$
0
0

What I want to do is to read a json message from at Service Bus queue, and then call a REST API with that json message. Exact same format, no need for mapping.

What I have done so far is created a Azure Logic App with a Service Bus trigger.

I call the API with the body of the message.

I get a HTTP 400 Bad Request response with a list of fields that are missing.

The request from the Logic app sends the json doc base64 encoded in the ContentData field, "ContentTransferEncoding": "Base64"

The Content type in the header is application/json.

If I decode the string and post that json using Postman, it works fine.

Any Ideas?


Viewing all articles
Browse latest Browse all 3655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>