- Auth
- Customer
- Passengers
- invoice Info
- Favorite Flights
- Notifications
- Fast Actions
- Customer - Get ProfileGET
- Customer - Update ProfilePOST
- Customer - Update PasswordPOST
- Search History - FlightGET
- Customer - Remove AccountDELETE
- Utils
- Flight
- Bus
- Hotel
- Socket
- Auto Completes
- Queue / Socket
- Misc
- Payment
- Orders
- Blog
- Contents
- Refund
- Notifications
- Checkout
- Otp VerifyPOST
- StatusGET
Get Slug Service
Developing
POST
https://test-api.ucuzyolu.com/getslug
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Header Params
client-id
string
optional
Default:
302382-1928283273-237723829-292999
Body Params application/json
slug
string
required
Example
{
"slug":"istanbul-otobus-bileti"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://test-api.ucuzyolu.com/getslug' \
--header 'client-id: 302382-1928283273-237723829-292999' \
--header 'Content-Type: application/json' \
--data-raw '{
"slug":"istanbul-otobus-bileti"
}'
Responses
🟢200OK
application/json
Body
data
object
required
alias
string | null
optional
slug
string
required
locale
string
required
title
string
required
keywords
string | null
required
description
string | null
required
content
string | null
required
meta
object | null
required
pageType
string
required
pageId
integer
required
statusCode
integer
required
redirectUrl
string | null
required
canonicalUrl
string | null
required
metaRobots
string
required
success
boolean
required
code
integer
required
message
string
required
Example
{
"data": {
"alias": "string",
"slug": "string",
"locale": "string",
"title": "string",
"keywords": "string",
"description": "string",
"content": "string",
"meta": {},
"pageType": "string",
"pageId": 0,
"statusCode": 0,
"redirectUrl": "string",
"canonicalUrl": "string",
"metaRobots": "string"
},
"success": true,
"code": 0,
"message": "string"
}
Modified at 2025-05-03 23:28:53