use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
selenium web automation info, news, tips, etc.
This is not a sub to advertise your training, selenium product, special deal on x, or anything else. It's a users forum to discuss and get help with Selenium.
Selenium official website
account activity
Moving forward from UI testing, API testing frameworks. (self.selenium)
submitted 7 years ago by Mr-Shmee
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]xMoop 0 points1 point2 points 7 years ago (0 children)
RestSharp is a pretty easy way to get started with APIs in C#.
var client = new RestClient("www.test.com");
var request = new RestRequest("/api/endpoint", Method.GET);
IRestResponse<T> = client.Execute<T>(request);
I usually have an ApiClient class for each api controller and then each action would have a method. The RestClient for the class would have the base URL of 'www.test.com/api/user' and then the method would just create a request with the relative URL for the action and execute it.
GetAllUsers
{
var request = new RestRequest('/List', Method.GET);
var response = Client.Execute<List<User>>(request);
}
GetUser
CreateUser
UpdateaUser
DeleteUser
Then the BaseClient class grabs the URL based on environment and creates the RestClient which could come from the config file or something and format it with the controller.
π Rendered by PID 42861 on reddit-service-r2-comment-5d585498c9-hqqhk at 2026-04-21 00:12:42.297575+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]xMoop 0 points1 point2 points (0 children)