HTTPServer not receiving Post body

Hello everyone,

I have made an HTTPServer that waits for socket connections.
My problem is that my server reads the body of http request for specific json requests and on other json request it does not
read any body.
The Http client is written on C# and is using restSharp to connect to my Server.
Has anyone any idea?

This forum is for users of the Xojo language and IDE.

Hello Greg,

My Server is written in Xojo but the company that hit my server writes in C# and I was wondering if I must do something special
to read HttpRequest from other languages.
I think by the way that i fixed it by keep reading socket until i get a string equal content length that i receive from the request.

Hi Sebastian,

You should look at Xojo Web Apps and in particular Handle Special URL. This is an awesome product that will meet your needs.

It sounds like their request was formatted differently to what your server expects. Without seeing code or logs or a bit hard to guess why.

[quote=332791:@Sebastian Kapellas]Hello Greg,

My Server is written in Xojo but the company that hit my server writes in C# and I was wondering if I must do something special
to read HttpRequest from other languages.
[/quote]
Great! That wasn’t obvious from your initial message and we’ve been getting a lot of non-Xojo questions lately.

What were you doing before?