Search results for query: *

  1. Skydiver

    XSRF-Token

    Looking at post #3, it looks like you tried that and didn't get the expected results. Oh well, still glad that you got it working.
  2. Skydiver

    XSRF-Token

    Nice!
  3. Skydiver

    XSRF-Token

    Congratulations! What was the missing ingredient?
  4. Skydiver

    XSRF-Token

    *sigh* But does that generated code work? As I said, take the generated code and run it. Does it work? Only if it works, then compare with your code. You are trying to skip the step of testing the generated code and going straight to comparing with your code in post #24.
  5. Skydiver

    XSRF-Token

    "The problem persists" meaning that the Postman generated code also fails?
  6. Skydiver

    XSRF-Token

    Okay, let try a different tack. As I recall, current versions of Postman allow you to tell it to generate C# code that mimics what it does for that particular session. Tell it to generate the code, and then run it. If that generated code succeeds, then compare the generated code with your code...
  7. Skydiver

    XSRF-Token

    Show us the headers that are sent. There is an obvious difference in the way the server is responding. A server is not psychic. It can only act on the data sent it. So what data is being sent to it by Postman that is different from the data that you are sending using the HttpClient.
  8. Skydiver

    XSRF-Token

    Those are responses that you are getting back. I was asking about what did Postman send? What did you send?
  9. Skydiver

    XSRF-Token

    If you share the headers sent by Postman, and headers sent by your program, we could provide another pair of eyes to try to spot the difference between them. (We believe you that the responses received by Postman is different from the responses received.)
  10. Skydiver

    1219 Occurs

    Convert the number "67,1219" to hexadecimal. Look for a matching value in winerror.h. If you don't find a matching value, try stripping away the top 16 bits to just be left with the bottom 16 bits. Convert to decimal and then again look in Winerror.h to find a match. In general, if the current...
  11. Skydiver

    Tip This is a post to help your Selenium automation code become faster and more effective!

    Also does this make Selenium code faster and more effective? Or does it make writing Selenium based code faster and more efficient? Scanning through the source code, I didn't see anything there that tries to analyze and code and make it faster or more efficient. What I did see was a lot of...
  12. Skydiver

    Tip This is a post to help your Selenium automation code become faster and more effective!

    As a quick note: one should not checkin the build artifacts into GitHub with your sources. In other words, you shouldn't have committed your bin, obj, and packages directory. If you had used the default .gitignore normally created by Visual Studio, that would have helped you from committing...
  13. Skydiver

    How to release memory

    You just let go of your reference to the object. The garbage collector will release the memory when garbage collection occurs. Request = null;
  14. Skydiver

    Resolved Changing the FontSize of the DataGridView ErrorText

    It should. And if that fails, I think that you would have to hook the data grid view cell painting event. Check for a non-empty ErrorText, and then do your own painting of a cell if it is non-empty.
  15. Skydiver

    XSRF-Token

    Uh-oh! If you're using .NET (Core) then it gets even more interesting: https://github.com/dotnet/runtime/issues/30276 (It was also a blast from the past to see a few posts from davidsh on that issue. I used to work for him years ago during the Win95 days.)
  16. Skydiver

    XSRF-Token

    This is why I was asking about the headers sent by Postman as compared to headers sent by your code. It's possible PostMan is filling in other header values like the agent name or some other thing. As an aside that may or may not related, I was reading on SO that Headers.GetValues() may send...
  17. Skydiver

    XSRF-Token

    What did you find in the cookie container? If you compare your code's sent headers and body to the postman headers and body, are there any major differences?
  18. Skydiver

    XSRF-Token

    Also are you sure it is suppose to be "XSRF-TOKEN" or is it "CSRF-TOKEN"?
  19. Skydiver

    XSRF-Token

    You did not show your code for ExtractCookie(). Did you step through that code to see what cookies are returned? Also, did you look at the HTTP headers of the response?
  20. Skydiver

    XSRF-Token

    What is not working? What error are you getting? Which line is causing the error? What does the documentation for the login API say?
Back
Top Bottom