Hi, Thanks again for the response.
At first I can't believe that a well used language like Java as a bug of this type. However, (I am not a Java man) I did search "Java 204 not working" and the first hit was
https://stackoverflow.com/questions...-not-working-with-204-and-empty-body-response
It is 5 years old (and once I am not a Java man) but does tend to suggest that there a problem with Java.
Perhaps the issue is with the wrapper between Java and B4A .
However, I have managed a work around -
Fortunately, the API I am using will return 200 for good calls and only 204 other valid calls. It will return errors in the 400 range for bad calls. I know 409 works, so I assume all the other 400 range will work.
So (this is the workaround - Don't tell may manager - as I am the Boss that me!)
If 200 then
'great we got a response
ELSE IF 400 to 499 then
' we are doing some wrong
ELSE
' Got to be a 204 (I hope)
END IF
Sadly, it good for me but not a complete workaround.
Once again, thanks for the help.
I do think we have done this issue to death, so I leave it with someone with more experience to perhaps log this issue.
Kind regards
Dave