Skip to content

HaseebAhmadButt/PHP-REST-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Simple REST API in PHP

Queries Examples

1. To Get Data About Specific Country use Query: /data/{Country Name}

2. To Get All Data Uue Query: /data or /data/

3. To Get Sorted Data: /data/sor={Field Name}

Note, In single Query use only one Field/Attribute to sort data multiple attributes in single query is not supported

4. To Get Data according to set of attributes use Query: /data?{Attribute Name}[lte OR gte: this is optional]

OR

5. /data?{Attribute Name}[lte OR gte: this is optional]&{Attribute Name}[lte OR gte: this is optional]....

Note: Data According to Country Can't Be Fetched with this Rule. Use Query 1 To Get Specific Data According to Country

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages