testmanio / homebrew-tm

MIT License
0 stars 1 forks source link

V1 version - App id and secret has been moved to headers - support for basic auth #57

Open thamarai1414 opened 2 months ago

thamarai1414 commented 2 months ago

Area -> API New Feature - Need to add support to App ID and secret has been moved to headers Describe the bug - New feature request Version - NO Expected behavior - Actual behavior: If we call basic authorization in Request Headers, it hits an 500 error How to Reproduce? - Example: { "api-version": "1", "Content-Type": "application/x-www-form-urlencoded", "Authorization": "Basic N2FmYzViZWMtODYxMi00ZmMxLWFjMTUtZjkwNzZmOWQ3OTFkOlJnS3JnYkU1S0hLR25rWmhLWFNxRnVHQmZKMHAzc1UzWFJQdWhRSFFVOEU4c0NzUmdBNEZCSmdQb0pMRG9WcFk=" } Anything else? - NO

MicrosoftTeams-image111

thamarai1414 commented 2 months ago

Tested OK

Now we can able to hit transaction API with request headers (app id and secret) basic authorization

Screenshot 2024-06-06 at 5 56 03 PM