curl --request POST \
--url https://api.hostwithdothost.com/hosting/group \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"hostingGroupName": "Premium Hosting",
"hostingGroupDescription": "High-performance hosting for businesses.",
"hostingGroupImage": "http://example.com/image.jpg"
}'
curl --request POST \
--url https://api.hostwithdothost.com/hosting/group \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"hostingGroupName": "Premium Hosting",
"hostingGroupDescription": "High-performance hosting for businesses.",
"hostingGroupImage": "http://example.com/image.jpg"
}'
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Was this page helpful?