Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages