© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•10mo ago
Anton

AngleSharp doesn't send request on SubmitForm

I'm trying to automate some tasks at uni. At this point, I'm trying to reset the times of lessons to the correct value in the online registry. I figured I'd use something more serious than manually doing http requests, ended up implementing it in AngleSharp.

The issue I'm facing is that
SubmitAsync
SubmitAsync
runs, but doesn't actually send any requests. It's supposed to send a Post request.
https://github.com/AntonC9018/ScheduleLib/blob/163a747b62e87ff24ba3cada39d73277e75bd473/src/OnlineRegistry/OnlineRegistry/PublicApi.cs#L313

I made a logging handler on http client, I don't see any Post requests there.
https://github.com/AntonC9018/ScheduleLib/blob/163a747b62e87ff24ba3cada39d73277e75bd473/src/OnlineRegistry/OnlineRegistry/PublicApi.cs#L465

Here's where I make it.
https://github.com/AntonC9018/ScheduleLib/blob/163a747b62e87ff24ba3cada39d73277e75bd473/src/OnlineRegistry/OnlineRegistry/PublicApi.cs#L76

I have checked with the debugger and the
DocumentRequest
DocumentRequest
gets created, and I even get a response document back after it executes. I guess some caching might be taking place. But why would it hit the cache on a Post request?

Any ideas why this would be happening?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ ✅ Why doesn't this basic HttpClient GET request doesn't work as expected?
C#CC# / help
3y ago
Send http request using postman
C#CC# / help
4y ago
WriteAsync doesn't always send data to all connected clients
C#CC# / help
4y ago
MaterialDesignThemes Doesn't load on IDE
C#CC# / help
4y ago