Forum Discussion

Matthias's avatar
Matthias
New Contributor III
2 years ago

Username / password auth via post request

We've got a service that needs authentication via Post/Put request with the following body:

```

{
"U":"someUsername",
"P":"someSecurePassword",
"L":"EN"
}
```
 
Now with the rest post snap, i can  store the data in a "basic auth" account, and use the following:
``` 
'{
"U":"' + account.username + '",
"P":"' + account.password + '",
"L":"EN"
}'
```
now reading the Rest Api documentation, it is pointing me to use the HTTP client - which i tried, but this doesn't seem to give this option? 

is there any way to accomplish the same thing with the HTTP client snap?
 

6 Replies

No RepliesBe the first to reply