curl --request POST \
--url https://sgjm-api.vohoangphuc.com/v1/profile \
--header 'Content-Type: application/json' \
--cookie auth_token= \
--data '
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"country": "<string>",
"phone": "<string>",
"address": "<string>",
"city": "<string>",
"aboutUs": "<string>",
"admissionDescription": "<string>",
"logoUrl": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}Creates a new company profile
curl --request POST \
--url https://sgjm-api.vohoangphuc.com/v1/profile \
--header 'Content-Type: application/json' \
--cookie auth_token= \
--data '
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"country": "<string>",
"phone": "<string>",
"address": "<string>",
"city": "<string>",
"aboutUs": "<string>",
"admissionDescription": "<string>",
"logoUrl": "<string>"
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z"
}JWE token stored in HttpOnly cookie