Use -u 'username:password' for basic auth in the curl request snippet
Previously, when a request was made that used basic auth, the curl snippet would configure the authentication header with the Base64-encoded header. This commit updates the snippet to use the more human-friendly -u option to provide the username and password in place of the authentication header. Closes gh-122
This commit is contained in:
committed by
Andy Wilkinson
parent
26adbb10ae
commit
d329e2da5d
@@ -27,6 +27,7 @@ dependencies {
|
||||
compile 'junit:junit'
|
||||
compile 'org.springframework:spring-webmvc'
|
||||
compile 'javax.servlet:javax.servlet-api'
|
||||
compile 'commons-codec:commons-codec:1.10'
|
||||
compile files(jmustacheRepackJar)
|
||||
jarjar 'com.googlecode.jarjar:jarjar:1.3'
|
||||
jmustache 'com.samskivert:jmustache@jar'
|
||||
|
||||
Reference in New Issue
Block a user