```
const doc = await this.accessToken()
const msisdn = '+242*********'
const scope = 'read_account'
const body = new URLSearchParams()
body.append('scope', 'profile')
body.append('access_type', 'offline')
body.append('login_hint', `ID:${msisdn}/MSISDN`)
// Faire la requête POST à /bc-authorize
const response = await fetch(
'https://sandbox.momodeveloper.mtn.com/collection/v1_0/bc-authorize',
{
method: 'POST',
headers: {
'Authorization': `Basic ${doc.access_token}`,
'Ocp-Apim-Subscription-Key': this.subscription_key,
'X-Target-Environment': 'mtncongo',
'Content-Type': 'application/x-www-form-urlencoded',
},
body,
}
)
console.log(response)
```
Bonjour la communauté. je suis bloqué ici
je reçois un statusText: 'Bad Request'.