mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-07-16 13:38:08 +00:00
Updated Examples (markdown)
parent
53a6a2121a
commit
85d37d7232
|
@ -13,7 +13,7 @@ var credential = {
|
||||||
HTTP.create()
|
HTTP.create()
|
||||||
.setContentType("application/json")
|
.setContentType("application/json")
|
||||||
.setRequestBody(credential)
|
.setRequestBody(credential)
|
||||||
.post(apiUrl + "/netsolid/auth/authenticate", function(res) {
|
.post(apiUrl + "myproject/auth/authenticate", function(res) {
|
||||||
if ("error" in res) {
|
if ("error" in res) {
|
||||||
console.error(res.error.message);
|
console.error(res.error.message);
|
||||||
} else if ("data" in res) {
|
} else if ("data" in res) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user