none
Duplicate request when calling a Web API

    Question

  • Hi, 

    I have an issue using REST API in webforms.

    The customer says I send 2 request, a first unauthorized call, the second all right. 

    I follow Microsoft example and I have done the same (https://msdn.microsoft.com/it-it/library/system.net.httpwebrequest.credentials(v=vs.110).aspx)

    Any idea about what can be set to avoid the first call?

    Regards

    Monday, March 13, 2017 10:29 AM

All replies

  • Hello,

    Since you replied to an old thread which was already closed, I've split your question into its own thread.

    Can you please show us a short example of the code you are using to send the request?  There's really no way to tell where the problem may be without examining the code involved.


    Reed Kimble - "When you do things right, people won't be sure you've done anything at all"


    Monday, March 13, 2017 1:09 PM
    Moderator