Click here to Skip to main content
15,845,213 members

Comments by Wiep Corbier (Top 13 by date)

Wiep Corbier 12-Dec-19 7:52am View    
Thanks very much. You made me see the light, and the solution. Instead of a GET I will use a POST (without the actual posting of course)

I POST an object containing the Name and Password.
On the server side I do a query if the Candidate exists and return a response.
Wiep Corbier 27-Nov-17 1:18am View    
I know that in the code it says PostAsync, but I tried DeleteAsync also. I tried many things, it didn't work. That's why I posted the problem here. But. I also posted the solution and i want to leave it by that. Thanks again.
Wiep Corbier 27-Nov-17 0:20am View    
No, in previous code DeleteAsync doesn't work. I'm not stupid.
Wiep Corbier 6-Nov-17 4:21am View    
I have no idea.

I only know that what Im sending is corrupted by something because in some way
[{
"Id": "1000"
}]

is transformed to
[{
Id: "1000"
}]

But lets end this.
I don't get my problem across.
I'm not good in english probably

Sorry, but I'm completely done now. It frustrates me like hell but I know it is me.

Thanks for the effort but...
Don't spend anymore time on this, we speak completly different languages.
Wiep Corbier 6-Nov-17 3:52am View    
My code gives:

StatusCode: 204, ReasonPhrase: 'No Content', Version: 1.1, Content: System.Net.Http.StreamContent, Headers:
{
Pragma: no-cache
Access-Control-Allow-Origin: *
Access-Control-Max-Age: 3628800
Access-Control-Allow-Methods: GET,POST,DELETE
Access-Control-Allow-Headers: accept, content-type, x-xtra-token
Vary: User-Agent
Cache-Control: no-store, must-revalidate, no-cache, post-check=0, pre-check=0
Date: Mon, 06 Nov 2017 08:51:05 GMT
Set-Cookie: PHPSESSID=87e3j0f8husifdsrof4oepm5n2; path=/
Server: Apache/2
Content-Type: application/json; charset=utf8
Expires: Thu, 19 Nov 1981 08:52:00 GMT
}

For me it is very simple and I'm no json expert.
I need to get
[{
"Id": "1000"
}]

across and I am not able to do it.
That's all.