- 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
null
required
slug
string
required
locale
string
required
title
string
required
keywords
null
required
description
null
required
content
null
required
meta
string
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": null,
"slug": "string",
"locale": "string",
"title": "string",
"keywords": null,
"description": null,
"content": null,
"meta": "string",
"pageType": "string",
"pageId": 0,
"statusCode": 0,
"redirectUrl": "string",
"canonicalUrl": "string",
"metaRobots": "string"
},
"success": true,
"code": 0,
"message": "string"
}
Modified at 2025-04-13 16:04:39