Introduction
This documentation aims to provide all the information you need to work with our API.
Authenticating requests
To authenticate requests, include an Authorization
header with the value "Bearer your-token"
.
All authenticated endpoints are marked with a requires authentication
badge in the documentation below.
You can retrieve your token by visiting your dashboard and clicking Generate API token.
Endpoints
POST api/v1/register
Example request:
curl --request POST \
"http://morepaws.local/api/v1/register" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"first_name\": \"xkbdewxb\",
\"last_name\": \"avjbdutumizxrtlodvoyjijsy\",
\"country\": \"mbxwgcdvbvmgqnotvwjxgpi\",
\"city\": \"ifkwbswnpdfdmdik\",
\"email\": \"rschinner@example.com\",
\"password\": \"jO4J..f?\'Wv\\\\\",
\"password_confirmation\": \"est\",
\"how_did_you_hear_about_us_id\": 13,
\"subscribe_to_newsletter\": true
}"
const url = new URL(
"http://morepaws.local/api/v1/register"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"first_name": "xkbdewxb",
"last_name": "avjbdutumizxrtlodvoyjijsy",
"country": "mbxwgcdvbvmgqnotvwjxgpi",
"city": "ifkwbswnpdfdmdik",
"email": "rschinner@example.com",
"password": "jO4J..f?'Wv\\",
"password_confirmation": "est",
"how_did_you_hear_about_us_id": 13,
"subscribe_to_newsletter": true
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/login
Example request:
curl --request POST \
"http://morepaws.local/api/v1/login" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"email\": \"jovany.walsh@example.net\",
\"password\": \"RUQ^b:zh,0\\\\AwBJ\"
}"
const url = new URL(
"http://morepaws.local/api/v1/login"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"email": "jovany.walsh@example.net",
"password": "RUQ^b:zh,0\\AwBJ"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/forgot_password
Example request:
curl --request POST \
"http://morepaws.local/api/v1/forgot_password" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/forgot_password"
);
const headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/pin_verification
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/pin_verification" \
--header "Authorization: Bearer vfEaZ6k5834hD1bgc6VdPae" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"pin\": 13,
\"user_id\": 6
}"
const url = new URL(
"http://morepaws.local/api/v1/pin_verification"
);
const headers = {
"Authorization": "Bearer vfEaZ6k5834hD1bgc6VdPae",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"pin": 13,
"user_id": 6
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/reset_password
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/reset_password" \
--header "Authorization: Bearer efPb6v165hgkaaVZ3d8ED4c" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"user_id\": 12,
\"password\": \".q{xfM@_c\",
\"password_confirmation\": \"incidunt\"
}"
const url = new URL(
"http://morepaws.local/api/v1/reset_password"
);
const headers = {
"Authorization": "Bearer efPb6v165hgkaaVZ3d8ED4c",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"user_id": 12,
"password": ".q{xfM@_c",
"password_confirmation": "incidunt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/logout
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/logout" \
--header "Authorization: Bearer gd4aePVhcf8Zk63DEva56b1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/logout"
);
const headers = {
"Authorization": "Bearer gd4aePVhcf8Zk63DEva56b1",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/info
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/info" \
--header "Authorization: Bearer Z15PehDfdkg68av4V3aEcb6" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"date_of_birth\": \"2024-03-26T14:31:56\",
\"biography\": \"quos\",
\"interests\": [
3
]
}"
const url = new URL(
"http://morepaws.local/api/v1/users/info"
);
const headers = {
"Authorization": "Bearer Z15PehDfdkg68av4V3aEcb6",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"date_of_birth": "2024-03-26T14:31:56",
"biography": "quos",
"interests": [
3
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/users/interests
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/users/interests" \
--header "Authorization: Bearer khVZad4bg1EP53caf866vDe" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/users/interests"
);
const headers = {
"Authorization": "Bearer khVZad4bg1EP53caf866vDe",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Load the user with interests.
requires authentication
just in case user decide to return back to this page.
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/users/load_user" \
--header "Authorization: Bearer a3a8kZ614gEh56vbePVcdfD" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/users/load_user"
);
const headers = {
"Authorization": "Bearer a3a8kZ614gEh56vbePVcdfD",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/users/show
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/users/show" \
--header "Authorization: Bearer ecZbEgVfh51k3D6v68adP4a" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"user_id\": 12
}"
const url = new URL(
"http://morepaws.local/api/v1/users/show"
);
const headers = {
"Authorization": "Bearer ecZbEgVfh51k3D6v68adP4a",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"user_id": 12
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/update
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/update" \
--header "Authorization: Bearer g8ch4Z53k6aVbeDd6fPa1Ev" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"first_name\": \"voluptatem\",
\"last_name\": \"in\",
\"biography\": \"aspernatur\"
}"
const url = new URL(
"http://morepaws.local/api/v1/users/update"
);
const headers = {
"Authorization": "Bearer g8ch4Z53k6aVbeDd6fPa1Ev",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"first_name": "voluptatem",
"last_name": "in",
"biography": "aspernatur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/update_personal_details
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/update_personal_details" \
--header "Authorization: Bearer 8b16kZ3hPD5ceaa4E6Vfvdg" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"first_name\": \"omnis\",
\"last_name\": \"quod\",
\"country\": \"praesentium\",
\"city\": \"rerum\"
}"
const url = new URL(
"http://morepaws.local/api/v1/users/update_personal_details"
);
const headers = {
"Authorization": "Bearer 8b16kZ3hPD5ceaa4E6Vfvdg",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"first_name": "omnis",
"last_name": "quod",
"country": "praesentium",
"city": "rerum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/update_profile_photo
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/update_profile_photo" \
--header "Authorization: Bearer 53h86Z1dEfe46vaPVgabcDk" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--header "0: Bearer" \
--form "profile_photo=@/private/var/folders/bm/9lvdrhkx1gx4rl9_m2512_cc0000gn/T/phpJRb0mb"
const url = new URL(
"http://morepaws.local/api/v1/users/update_profile_photo"
);
const headers = {
"Authorization": "Bearer 53h86Z1dEfe46vaPVgabcDk",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
"0": "Bearer",
};
const body = new FormData();
body.append('profile_photo', document.querySelector('input[name="profile_photo"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/update_password
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/update_password" \
--header "Authorization: Bearer aZa3f4gE58de16PvchDkbV6" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"old_password\": \"omnis\",
\"password\": \"1~NHPHfd:1qh!oT\",
\"password_confirmation\": \"tenetur\"
}"
const url = new URL(
"http://morepaws.local/api/v1/users/update_password"
);
const headers = {
"Authorization": "Bearer aZa3f4gE58de16PvchDkbV6",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"old_password": "omnis",
"password": "1~NHPHfd:1qh!oT",
"password_confirmation": "tenetur"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/update_interests
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/update_interests" \
--header "Authorization: Bearer Z48Pb3ge5fv1cdaD6hVEa6k" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"interests\": [
20
]
}"
const url = new URL(
"http://morepaws.local/api/v1/users/update_interests"
);
const headers = {
"Authorization": "Bearer Z48Pb3ge5fv1cdaD6hVEa6k",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"interests": [
20
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/update_location
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/update_location" \
--header "Authorization: Bearer 14k6gae53f6daPcD8VbvEZh" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"name\": \"pasnqbmmoujpuulocuwvjedj\",
\"latitude\": \"exercitationem\",
\"longitude\": \"rerum\",
\"address\": \"kzwwfhvcqqfkb\",
\"city\": \"pdrupxaedeghvmeyuwwmo\",
\"country\": \"rxlizrpmbat\"
}"
const url = new URL(
"http://morepaws.local/api/v1/users/update_location"
);
const headers = {
"Authorization": "Bearer 14k6gae53f6daPcD8VbvEZh",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"name": "pasnqbmmoujpuulocuwvjedj",
"latitude": "exercitationem",
"longitude": "rerum",
"address": "kzwwfhvcqqfkb",
"city": "pdrupxaedeghvmeyuwwmo",
"country": "rxlizrpmbat"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/update_biography
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/update_biography" \
--header "Authorization: Bearer 63ahvfa14Vd8EcZbgD6k5Pe" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"biography\": \"ex\"
}"
const url = new URL(
"http://morepaws.local/api/v1/users/update_biography"
);
const headers = {
"Authorization": "Bearer 63ahvfa14Vd8EcZbgD6k5Pe",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"biography": "ex"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/store_dog_photos
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/store_dog_photos" \
--header "Authorization: Bearer 61VbgeDaZPEhdc6v38ka4f5" \
--header "Content-Type: multipart/form-data" \
--header "Accept: application/json" \
--header "0: Bearer" \
--form "photos[]=@/private/var/folders/bm/9lvdrhkx1gx4rl9_m2512_cc0000gn/T/phpKAGxI0"
const url = new URL(
"http://morepaws.local/api/v1/users/store_dog_photos"
);
const headers = {
"Authorization": "Bearer 61VbgeDaZPEhdc6v38ka4f5",
"Content-Type": "multipart/form-data",
"Accept": "application/json",
"0": "Bearer",
};
const body = new FormData();
body.append('photos[]', document.querySelector('input[name="photos[]"]').files[0]);
fetch(url, {
method: "POST",
headers,
body,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/users/show_dog_photos
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/users/show_dog_photos" \
--header "Authorization: Bearer Ef3V8de41cPva6gDa65bhkZ" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"user_id\": 7
}"
const url = new URL(
"http://morepaws.local/api/v1/users/show_dog_photos"
);
const headers = {
"Authorization": "Bearer Ef3V8de41cPva6gDa65bhkZ",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"user_id": 7
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/delete_dog_photo
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/delete_dog_photo" \
--header "Authorization: Bearer c3b6EVa615kg48vaZDPhdef" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"photo_id\": 9
}"
const url = new URL(
"http://morepaws.local/api/v1/users/delete_dog_photo"
);
const headers = {
"Authorization": "Bearer c3b6EVa615kg48vaZDPhdef",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"photo_id": 9
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/users/user_posts
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/users/user_posts" \
--header "Authorization: Bearer a8gad3ZVEk4fcP15v6e6hbD" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"user_id\": 16
}"
const url = new URL(
"http://morepaws.local/api/v1/users/user_posts"
);
const headers = {
"Authorization": "Bearer a8gad3ZVEk4fcP15v6e6hbD",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"user_id": 16
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/users/user_dogs
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/users/user_dogs" \
--header "Authorization: Bearer bgk6Vd31eDP8Zv46faacEh5" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"user_id\": 11
}"
const url = new URL(
"http://morepaws.local/api/v1/users/user_dogs"
);
const headers = {
"Authorization": "Bearer bgk6Vd31eDP8Zv46faacEh5",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"user_id": 11
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/delete_profile_image
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/delete_profile_image" \
--header "Authorization: Bearer 61ak5h68agb4f3cEdvPDZeV" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/users/delete_profile_image"
);
const headers = {
"Authorization": "Bearer 61ak5h68agb4f3cEdvPDZeV",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/users/delete_account
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/users/delete_account" \
--header "Authorization: Bearer d16vkVPab5D4g6Z3eaEhcf8" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/users/delete_account"
);
const headers = {
"Authorization": "Bearer d16vkVPab5D4g6Z3eaEhcf8",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/dogs/characters
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/dogs/characters" \
--header "Authorization: Bearer c3P64g1adafEZhDkeV58b6v" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/dogs/characters"
);
const headers = {
"Authorization": "Bearer c3P64g1adafEZhDkeV58b6v",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/dogs/breeds
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/dogs/breeds" \
--header "Authorization: Bearer Zg4a5bf61Pchad8kD36EeVv" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/dogs/breeds"
);
const headers = {
"Authorization": "Bearer Zg4a5bf61Pchad8kD36EeVv",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/dogs/store
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/dogs/store" \
--header "Authorization: Bearer 3D1kv8cage6bdEZ4a5PVhf6" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"name\": \"ud\",
\"breed_id\": 6,
\"description\": \"Et nesciunt autem id perferendis cum dolor id.\",
\"temperaments\": [
8
]
}"
const url = new URL(
"http://morepaws.local/api/v1/dogs/store"
);
const headers = {
"Authorization": "Bearer 3D1kv8cage6bdEZ4a5PVhf6",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"name": "ud",
"breed_id": 6,
"description": "Et nesciunt autem id perferendis cum dolor id.",
"temperaments": [
8
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/dogs/add_character
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/dogs/add_character" \
--header "Authorization: Bearer Dc4ePEafk18hbdZ5g6V6av3" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"name\": \"xkmbyilfwt\"
}"
const url = new URL(
"http://morepaws.local/api/v1/dogs/add_character"
);
const headers = {
"Authorization": "Bearer Dc4ePEafk18hbdZ5g6V6av3",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"name": "xkmbyilfwt"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/dogs/load_vaccines
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/dogs/load_vaccines" \
--header "Authorization: Bearer D4EfgZ6kh5cve8VaabPd136" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/dogs/load_vaccines"
);
const headers = {
"Authorization": "Bearer D4EfgZ6kh5cve8VaabPd136",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/dogs/add_new_dog
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/dogs/add_new_dog" \
--header "Authorization: Bearer PvfZdkE6e318cD65gba4ahV" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"name\": \"suzxfkwzz\",
\"breed_id\": 2,
\"description\": \"Sint quae molestiae unde nam voluptatibus.\",
\"temperaments\": [
7
]
}"
const url = new URL(
"http://morepaws.local/api/v1/dogs/add_new_dog"
);
const headers = {
"Authorization": "Bearer PvfZdkE6e318cD65gba4ahV",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"name": "suzxfkwzz",
"breed_id": 2,
"description": "Sint quae molestiae unde nam voluptatibus.",
"temperaments": [
7
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/dogs/update_dog
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/dogs/update_dog" \
--header "Authorization: Bearer DckZ1bvheVaEa6P8543df6g" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"dog_id\": 4,
\"name\": \"iuxcfqungb\",
\"breed_id\": 13,
\"description\": \"Totam esse architecto ea omnis ea laboriosam.\",
\"temperaments\": [
14
]
}"
const url = new URL(
"http://morepaws.local/api/v1/dogs/update_dog"
);
const headers = {
"Authorization": "Bearer DckZ1bvheVaEa6P8543df6g",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"dog_id": 4,
"name": "iuxcfqungb",
"breed_id": 13,
"description": "Totam esse architecto ea omnis ea laboriosam.",
"temperaments": [
14
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/dogs/delete_dog
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/dogs/delete_dog" \
--header "Authorization: Bearer ce4Pf13vahEV66bkg58DadZ" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"dog_id\": 9
}"
const url = new URL(
"http://morepaws.local/api/v1/dogs/delete_dog"
);
const headers = {
"Authorization": "Bearer ce4Pf13vahEV66bkg58DadZ",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"dog_id": 9
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/dogs/remove_vaccine
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/dogs/remove_vaccine" \
--header "Authorization: Bearer Vvaf4cZag1D8b6P3d65hEke" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/dogs/remove_vaccine"
);
const headers = {
"Authorization": "Bearer Vvaf4cZag1D8b6P3d65hEke",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/locations/store_favourite
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/locations/store_favourite" \
--header "Authorization: Bearer f4ce568Pb1aDvkdVagE3Zh6" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"name\": \"abbfpkna\",
\"latitude\": \"velit\",
\"longitude\": \"quo\",
\"address\": \"jxm\",
\"city\": \"cjloigbzn\",
\"country\": \"poa\"
}"
const url = new URL(
"http://morepaws.local/api/v1/locations/store_favourite"
);
const headers = {
"Authorization": "Bearer f4ce568Pb1aDvkdVagE3Zh6",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"name": "abbfpkna",
"latitude": "velit",
"longitude": "quo",
"address": "jxm",
"city": "cjloigbzn",
"country": "poa"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/maps/search_locations
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/maps/search_locations" \
--header "Authorization: Bearer VeZck4fdh6gEbP6aD18av53" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"type_ids\": [
1,
2,
3
],
\"breed_ids\": [
1,
2,
3
]
}"
const url = new URL(
"http://morepaws.local/api/v1/maps/search_locations"
);
const headers = {
"Authorization": "Bearer VeZck4fdh6gEbP6aD18av53",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"type_ids": [
1,
2,
3
],
"breed_ids": [
1,
2,
3
]
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/maps/business_types
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/maps/business_types" \
--header "Authorization: Bearer vaP5aec4Vb3hg616fDkZEd8" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/maps/business_types"
);
const headers = {
"Authorization": "Bearer vaP5aec4Vb3hg616fDkZEd8",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/maps/dog_breeds
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/maps/dog_breeds" \
--header "Authorization: Bearer 5cdEeaDPb6Zv48gf13k6Vah" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/maps/dog_breeds"
);
const headers = {
"Authorization": "Bearer 5cdEeaDPb6Zv48gf13k6Vah",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/maps/create_group_walk
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/maps/create_group_walk" \
--header "Authorization: Bearer d58bZ46EagceVfkva3DP16h" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"name\": \"nxaszjubelduxhrmzw\",
\"latitude\": \"officiis\",
\"longitude\": \"quaerat\",
\"location\": \"xkntyscpbpxrotlygjzqkxkw\",
\"date\": \"2024-03-26T14:31:56\",
\"start_time\": \"14:31\",
\"end_time\": \"14:31\",
\"description\": \"Qui dicta quis facilis vitae dolorum rerum.\"
}"
const url = new URL(
"http://morepaws.local/api/v1/maps/create_group_walk"
);
const headers = {
"Authorization": "Bearer d58bZ46EagceVfkva3DP16h",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"name": "nxaszjubelduxhrmzw",
"latitude": "officiis",
"longitude": "quaerat",
"location": "xkntyscpbpxrotlygjzqkxkw",
"date": "2024-03-26T14:31:56",
"start_time": "14:31",
"end_time": "14:31",
"description": "Qui dicta quis facilis vitae dolorum rerum."
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/maps/show_group_walk
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/maps/show_group_walk" \
--header "Authorization: Bearer b364kahVZvDeac518dgf6PE" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"event_id\": 4
}"
const url = new URL(
"http://morepaws.local/api/v1/maps/show_group_walk"
);
const headers = {
"Authorization": "Bearer b364kahVZvDeac518dgf6PE",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"event_id": 4
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/maps/join_group_walk
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/maps/join_group_walk" \
--header "Authorization: Bearer Z668aPcahfkV453v1dbDgEe" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"event_id\": 11
}"
const url = new URL(
"http://morepaws.local/api/v1/maps/join_group_walk"
);
const headers = {
"Authorization": "Bearer Z668aPcahfkV453v1dbDgEe",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"event_id": 11
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/maps/leave_group_walk
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/maps/leave_group_walk" \
--header "Authorization: Bearer acv6d8fD3b16h5VgaEe4kPZ" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"event_id\": 1
}"
const url = new URL(
"http://morepaws.local/api/v1/maps/leave_group_walk"
);
const headers = {
"Authorization": "Bearer acv6d8fD3b16h5VgaEe4kPZ",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"event_id": 1
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/maps/cancel_group_walk
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/maps/cancel_group_walk" \
--header "Authorization: Bearer eaP1EDhg348fVc6kda6vb5Z" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"event_id\": 16
}"
const url = new URL(
"http://morepaws.local/api/v1/maps/cancel_group_walk"
);
const headers = {
"Authorization": "Bearer eaP1EDhg348fVc6kda6vb5Z",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"event_id": 16
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/chats/chat_list
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/chats/chat_list" \
--header "Authorization: Bearer Efk6P1Zv5c3Vaghb4ad86De" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/chats/chat_list"
);
const headers = {
"Authorization": "Bearer Efk6P1Zv5c3Vaghb4ad86De",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/chats/open_chat
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/chats/open_chat" \
--header "Authorization: Bearer EdcVh8kae1a4b6ZfP6g53Dv" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"chat_room_id\": 12
}"
const url = new URL(
"http://morepaws.local/api/v1/chats/open_chat"
);
const headers = {
"Authorization": "Bearer EdcVh8kae1a4b6ZfP6g53Dv",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"chat_room_id": 12
};
fetch(url, {
method: "GET",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/chats/send_message
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/chats/send_message" \
--header "Authorization: Bearer a5ZE166d3aVvgPcb8e4fhDk" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"other_user_id\": 17,
\"message_body\": \"enim\"
}"
const url = new URL(
"http://morepaws.local/api/v1/chats/send_message"
);
const headers = {
"Authorization": "Bearer a5ZE166d3aVvgPcb8e4fhDk",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"other_user_id": 17,
"message_body": "enim"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/chats/search_users
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/chats/search_users" \
--header "Authorization: Bearer 385VE6gcPf6haDvZbed41ka" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/chats/search_users"
);
const headers = {
"Authorization": "Bearer 385VE6gcPf6haDvZbed41ka",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/chats/block_chat
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/chats/block_chat" \
--header "Authorization: Bearer PE4D8abecv63af1V5gk6dZh" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"chat_room_id\": 13
}"
const url = new URL(
"http://morepaws.local/api/v1/chats/block_chat"
);
const headers = {
"Authorization": "Bearer PE4D8abecv63af1V5gk6dZh",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"chat_room_id": 13
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/newsfeeds/create_post
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/newsfeeds/create_post" \
--header "Authorization: Bearer VfPae354Zg6h1avbcD8Ed6k" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/newsfeeds/create_post"
);
const headers = {
"Authorization": "Bearer VfPae354Zg6h1avbcD8Ed6k",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/newsfeeds/index
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/newsfeeds/index" \
--header "Authorization: Bearer kVacg8abDZPd3f5v146Eh6e" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/newsfeeds/index"
);
const headers = {
"Authorization": "Bearer kVacg8abDZPd3f5v146Eh6e",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/newsfeeds/comment
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/newsfeeds/comment" \
--header "Authorization: Bearer kvbf6d1he4a6aZ3VPcD5gE8" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"body\": \"qudmkxstlezybpmhrhyjazdsv\",
\"post_id\": \"ab\"
}"
const url = new URL(
"http://morepaws.local/api/v1/newsfeeds/comment"
);
const headers = {
"Authorization": "Bearer kvbf6d1he4a6aZ3VPcD5gE8",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"body": "qudmkxstlezybpmhrhyjazdsv",
"post_id": "ab"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/newsfeeds/update
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/newsfeeds/update" \
--header "Authorization: Bearer 186kdVbaE6hc4Pv5Dfeg3aZ" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/newsfeeds/update"
);
const headers = {
"Authorization": "Bearer 186kdVbaE6hc4Pv5Dfeg3aZ",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/newsfeeds/like
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/newsfeeds/like" \
--header "Authorization: Bearer D5baekvPaEZdf3148Vg66ch" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"post_id\": \"id\"
}"
const url = new URL(
"http://morepaws.local/api/v1/newsfeeds/like"
);
const headers = {
"Authorization": "Bearer D5baekvPaEZdf3148Vg66ch",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"post_id": "id"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/newsfeeds/destroy
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/newsfeeds/destroy" \
--header "Authorization: Bearer ZPda5e6kvD4gabh3f8cE16V" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"post_id\": \"eum\"
}"
const url = new URL(
"http://morepaws.local/api/v1/newsfeeds/destroy"
);
const headers = {
"Authorization": "Bearer ZPda5e6kvD4gabh3f8cE16V",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"post_id": "eum"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/newsfeeds/hide_post
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/newsfeeds/hide_post" \
--header "Authorization: Bearer hkfc4PavD3Z6egE85baVd61" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"post_id\": 10
}"
const url = new URL(
"http://morepaws.local/api/v1/newsfeeds/hide_post"
);
const headers = {
"Authorization": "Bearer hkfc4PavD3Z6egE85baVd61",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"post_id": 10
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/comments/update
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/comments/update" \
--header "Authorization: Bearer caDkfE61bP8d3eVZ6va4gh5" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"body\": \"qgqeqlepgecvdhujbuq\",
\"comment_id\": 8
}"
const url = new URL(
"http://morepaws.local/api/v1/comments/update"
);
const headers = {
"Authorization": "Bearer caDkfE61bP8d3eVZ6va4gh5",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"body": "qgqeqlepgecvdhujbuq",
"comment_id": 8
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/comments/destroy
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/comments/destroy" \
--header "Authorization: Bearer cvbeaE61g56aZVD84Pdhk3f" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"comment_id\": 14
}"
const url = new URL(
"http://morepaws.local/api/v1/comments/destroy"
);
const headers = {
"Authorization": "Bearer cvbeaE61g56aZVD84Pdhk3f",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"comment_id": 14
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/comments/like
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/comments/like" \
--header "Authorization: Bearer e6dkgV4Z6DEvc1ha8bf5P3a" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"comment_id\": \"ab\"
}"
const url = new URL(
"http://morepaws.local/api/v1/comments/like"
);
const headers = {
"Authorization": "Bearer e6dkgV4Z6DEvc1ha8bf5P3a",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"comment_id": "ab"
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Retrieve perks based on type.
requires authentication
This endpoint retrieves perks based on the specified type.
Example request:
curl --request POST \
"http://morepaws.local/api/v1/perks/index" \
--header "Authorization: Bearer k8ZEdbag4Dace6h5VP316fv" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/perks/index"
);
const headers = {
"Authorization": "Bearer k8ZEdbag4Dace6h5VP316fv",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Example response (200):
{
"data": [
{
"id": 1,
"name": "Perk 1",
"description": "Description of Perk 1",
"image_path": "https://via.placeholder.com/150",
"title": "Perk 1",
"discount": "10%",
"discount_code": "QWERTY",
"website_link": "https://www.google.com",
"company": "Company 1"
},
],
"message": "Perks retrieved successfully."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/perks/perk_types
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/perks/perk_types" \
--header "Authorization: Bearer Eekagv1fb6ah8356cD4VZPd" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/perks/perk_types"
);
const headers = {
"Authorization": "Bearer Eekagv1fb6ah8356cD4VZPd",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/businesses/show
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/businesses/show" \
--header "Authorization: Bearer 6Dv1bkaafEVce4Z6hdg385P" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/businesses/show"
);
const headers = {
"Authorization": "Bearer 6Dv1bkaafEVce4Z6hdg385P",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/notifications/all
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/notifications/all" \
--header "Authorization: Bearer hP4k56DvdefgaVbZ836c1Ea" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/notifications/all"
);
const headers = {
"Authorization": "Bearer hP4k56DvdefgaVbZ836c1Ea",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/notifications/mark_as_read
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/notifications/mark_as_read" \
--header "Authorization: Bearer gac8EVZ5f6a3v46bdDkhPe1" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/notifications/mark_as_read"
);
const headers = {
"Authorization": "Bearer gac8EVZ5f6a3v46bdDkhPe1",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "POST",
headers,
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
GET api/v1/notifications/stats
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/v1/notifications/stats" \
--header "Authorization: Bearer kgea6a51ZdbP4cv6DVfE8h3" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/v1/notifications/stats"
);
const headers = {
"Authorization": "Bearer kgea6a51ZdbP4cv6DVfE8h3",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
POST api/v1/reports/report
requires authentication
Example request:
curl --request POST \
"http://morepaws.local/api/v1/reports/report" \
--header "Authorization: Bearer k5dZv8EV4bDh6efPa6a3g1c" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer" \
--data "{
\"reportable_type\": \"user\",
\"reportable_id\": 9
}"
const url = new URL(
"http://morepaws.local/api/v1/reports/report"
);
const headers = {
"Authorization": "Bearer k5dZv8EV4bDh6efPa6a3g1c",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
let body = {
"reportable_type": "user",
"reportable_id": 9
};
fetch(url, {
method: "POST",
headers,
body: JSON.stringify(body),
}).then(response => response.json());
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.
Authenticate the request for channel access.
requires authentication
Example request:
curl --request GET \
--get "http://morepaws.local/api/broadcasting/auth" \
--header "Authorization: Bearer hE81aPgb6k5dD6cZVevfa43" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "0: Bearer"
const url = new URL(
"http://morepaws.local/api/broadcasting/auth"
);
const headers = {
"Authorization": "Bearer hE81aPgb6k5dD6cZVevfa43",
"Content-Type": "application/json",
"Accept": "application/json",
"0": "Bearer",
};
fetch(url, {
method: "GET",
headers,
}).then(response => response.json());
Example response (401):
Show headers
cache-control: no-cache, private
content-type: application/json
access-control-allow-origin: *
{
"success": false,
"message": "Unauthenticated."
}
Received response:
Request failed with error:
Tip: Check that you're properly connected to the network.
If you're a maintainer of ths API, verify that your API is running and you've enabled CORS.
You can check the Dev Tools console for debugging information.