OAuth_register
POST
/api/oauth/register
const url = 'https://met.cards/api/oauth/register';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"client_name":"example","redirect_uris":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://met.cards/api/oauth/register \ --header 'Content-Type: application/json' \ --data '{ "client_name": "example", "redirect_uris": [ "example" ] }'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
client_name
required
string
redirect_uris
required
Array<string>
Examplegenerated
{ "client_name": "example", "redirect_uris": [ "example" ]}Responses
Section titled “Responses”Media typeapplication/json
object
Examplegenerated
{}