Closed wilfredmulenga closed 4 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.
I have made a PR #6 with the update
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.
sorry about that. it doesnt work with the colon after basic. I have made PR #7 with the correct image
Thanks! Committed the update.
thanks. closing this issue
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