Contents tagged with Authorization
today I want to share, how I make rest requests to jira. Here I found class RequestsExtensions.
It works fine for cases if authentication and authoritation is not needed. Bug for cases if authentication and authoritation in jira is needed that class doesn't work properly. In order to fix it I've added function which imitates log in.
Below goes code which I use:
public static class WebRequester
/// Sending POST request.
/// <param name="url">Request Url.</param>
/// <param name="data">Data for request.</param>
/// <param name="userName">user name for log in</param>
/// < … more