Skip to content

Commit

Permalink
Add a doc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Shenali-SJ committed Dec 3, 2024
1 parent 104bc9c commit e24b571
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,15 @@ protected Response getResponseOfPost(String endpointUri, String body) {
.post(endpointUri);
}

/**
* Invoke given endpointUri for POST with given body and Basic authentication, authentication credential being the
* authenticatingUserName and authenticatingCredential.
* This implementation does not incorporate any additional filters.
*
* @param endpointUri endpoint to be invoked
* @param body payload
* @return response
*/
protected Response getResponseOfPostNoFilter(String endpointUri, String body) {

return given().auth().preemptive().basic(authenticatingUserName, authenticatingCredential)
Expand Down

0 comments on commit e24b571

Please sign in to comment.