Username / password auth via post request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2023 05:11 AM
We've got a service that needs authentication via Post/Put request with the following body:
```
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 01:29 AM
Hi @Matthias ,
Good day, I don't know if this helps but you can also set basic authentication through the http header
e.g
Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ (encoded base64 username:password)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 04:18 AM
well that's kindof the opposite of what i need
the endpoint i need to connect to doesn't accept Basic auth - but requires the username / password to be provided via post body.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-04-2023 04:50 AM - edited ‎09-04-2023 04:51 AM
The HTTP Client Snap can use the Basic Authentication Account.
Did you try to reference the credentials in the "Raw entity" field within the snap?
BR,
Spiro Taleski
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2023 04:59 AM
yeah i did - unfortunately to no avail, as "account." is unknown in the http client snap
