Skip to content

joshpay is server with multiple go modules using go workspaces

Notifications You must be signed in to change notification settings

sushmitaw/joshpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

joshpay

joshpay is server with multiple go modules using go workspaces

test using base64 curl --location --request POST 'http://localhost:8080/pay'
--header 'Authorization: BASIC Sm9obklzVmFsaWRVc2Vy'
--header 'Content-Type: application/json'
--data-raw '{ "credit_card_token":"xxxxx", "amount": 1002 }’

test using jwt curl --location --request POST 'http://localhost:8080/pay'
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
--header 'Content-Type: application/json'
--data-raw '{ "credit_card_token":"xxxxx", "amount": 1002 }'

About

joshpay is server with multiple go modules using go workspaces

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages