region
Create a new region
Changed onCreates a new region entry.
post/regions
Request
- Base URLhttps://staging.api-golang.boilerplate.hng.tech/api/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Region created successfully
Example response
{
"status": "success",
"status_code": 201
}Changes
- info
added the non-success response with the status
- info
- info
removed the non-success response with the status
- info