Good morning.
I have an asynchronous JDBC->REST scenario, in which I have to call a url without payload. I've already tried passing Content-Length = 0 in the HTTP Headers tab of the rest receiver communication channel, but it continues to pass the following payload:
{"mtEmpty":""}
How to resolve this?
Thanks
Request clarification before answering.
I tried with GET and PUT, and in both I got the HTTP error 405: Method Not Allowed
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good afternoon.
Thanks for your answer. I was able to reproduce the error in postman. When I don't send the payload, the return is http 202. When I send it, I receive the same http error that occurs in PI: http 415 Unsupported Media Type.
The api expects Operation POST. What should I put? Get, Put or something else?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the receiver channel, disable the checkbox "Treat NULL as string". Also, try not to use the POST operation in the receiver REST channel.
Hope this will work.
Also, what impact this payload is creating at target?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.