labbsr0x / convid-accounts-backend

Accounts microservice for Convid remote access solution. This microservice handles Accounts and Machine registrations.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create "POST /account/[existing account_email]/machine" for new machine registration

flaviostutz opened this issue · comments

Return:
text/plain
"XPK8793" -> [3 ALPHA + 4 NUMERIC]

HTTP Header:
"Location: http://anyserver.com/account/ti@abracadabra.com/machine/XPK8793"

@flaviostutz how can i get domain to place on header, like the example above "anyserver.com"

@ggrcha you could pass an environment variable with the BASE_DOMAIN