squeeze
Create a squeeze record
Changed oncreates a new squeeze record
post/squeeze
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"phone": "08098761234",
"location": "Lagos, Nigeria",
"job_title": "Software Engineer",
"company": "X-Corp",
"interests": [
"Web Development",
"Cloud Computing"
],
"referral_source": "LinkedIn"
}Response
Successfully created the resource
Example response
{
"status": "success",
"message": "Your request has been received. You will get a template shortly.",
"data": {
"id": "uuid",
"email": "user@example.com",
"first_name": "John",
"last_name": "Doe",
"phone": "08098761234",
"location": "Lagos, Nigeria",
"job_title": "Software Engineer",
"company": "X-Corp",
"interests": [
"Web Development",
"Cloud Computing"
],
"referral_source": "LinkedIn",
"created_at": "12-03-2024",
"updated_at": "12-03-2024"
}
}Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking