Chizzoz / mtn-momo-developer-basics

MTN MoMo Developer Basics is a repository aimed at giving developers a head start in interacting with the MTN MoMo API's. Disclaimer: This repository is not affiliated with MTN
https://momodeveloper.mtn.com/
MIT License
40 stars 25 forks source link

Add description of token request authorization headers to README.md #5

Closed wilfredmulenga closed 4 years ago

wilfredmulenga commented 5 years ago

the documentation on the token request, https://sandbox.momodeveloper.mtn.com/collection/token/ , does not specify how the authorization headers should be formatted. Adding wrongly formatted headers just returns a 500 timeout. We can specify that in the README.md for future reference.

I can get this issue if that okay

Chizzoz commented 5 years ago

Yeah! I noticed that too, I have seen a lot of developers struggling with this in the Support section of the MoMo Developers Portal.

You're more than welcome, please take it up and edit README.md accordingly. Maybe step 4 can be Token generation and then step 5. Automation. Was thinking of adding those token generation steps but got a little tied up.

wilfredmulenga commented 4 years ago

I have made a PR #6 with the update

Chizzoz commented 4 years ago

Committed 🙌 I noticed in the image you attached, Basic is followed by a full colon (:), like so, Basic: xxx, did your request work with the full colon? I usually just use Basic space followed by B64 key. Kindly confirm.

wilfredmulenga commented 4 years ago

sorry about that. it doesnt work with the colon after basic. I have made PR #7 with the correct image

Chizzoz commented 4 years ago

Thanks! Committed the update.

wilfredmulenga commented 4 years ago

thanks. closing this issue