# REST HTTP Basic authentication

**URL:** <https://forum.shopware.com/t/rest-http-basic-authentication/103896>\
**Category:** Shopware 5\
**Tags:** programming\
**Created:** [30. April 2024 um 16:07 UTC](https://forum.shopware.com/t/rest-http-basic-authentication/103896 "2024-04-30T16:07:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RomanMudrak](https://avatars.discourse-cdn.com/v4/letter/r/3d9bf3/32.png) [@RomanMudrak](https://forum.shopware.com/u/RomanMudrak)\
**Post date:** [30. April 2024 um 16:07 UTC](https://forum.shopware.com/t/rest-http-basic-authentication/103896/1 "2024-04-30T16:07:33Z")

</div>

Hello everybody  
Help with resource authorization  
This is my account, maximum access rights and API enabled

I try get response using this documentation

> **[REST API - Basics](https://developers.shopware.com/developers-guide/rest-api/)**
>
> REST API - Basics

I try to use HTTP Basic authentication  
so this is my Postman request

 ![Screenshot 2024-04-30 at 19.03.54](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/4/0/402e0276e17b291daf5f9daa755ab6a3e07e57c6.png)

But instead of the response as JSON I get an HTML page

Write how to correctly do authorization on Shopware 5

---

<div class="post-metadata">

**Author:** ![sacrofano](https://avatars.discourse-cdn.com/v4/letter/s/65b543/32.png) [@sacrofano](https://forum.shopware.com/u/sacrofano)\
**Post date:** [30. April 2024 um 20:34 UTC](https://forum.shopware.com/t/rest-http-basic-authentication/103896/2 "2024-04-30T20:34:20Z")

</div>

Perhaps this helps you:

> <https://stackoverflow.com/questions/63791007/authentication-fails-for-rest-requests-to-shopware-5-using-postman>
