Skip to content

iCamilo/MAppMundiTestAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

MAppMundiAPI Banner

MAppMundiTestAPI

A test API for the endpoints required by MAppMundi Mobile Application. I use this repository mainly for end to end testing, with controlled responses.

For the API server I am using My JSON Server

Endpoints

GET all
GET https://my-json-server.typicode.com/iCamilo/MAppMundiTestAPI/all
200 Response

[
{
  "name": {
     "common": "United Kingdom",
     "official": "United Kingdom of Great Britain and Northern Ireland"
  },
  "capital": [
     "London"
  ],
  "flags": {
     "png": "https://flagcdn.com/w320/gb.png",
     "svg": "https://flagcdn.com/gb.svg",
     "alt": "The flag of the United Kingdom — the Union Jack — has a blue field.  ..."
   }
},
{
  "name": {
     "common": "South Africa",
     "official": "Republic of South Africa"
  },
  "capital": [
      "Pretoria",
      "Bloemfontein",
      "Cape Town"
  ],
  "flags": {
     "png": "https://flagcdn.com/w320/za.png",
     "svg": "https://flagcdn.com/w320/za.svg",
     "alt": "The flag of South Africa is composed of two equal horizontal bands ... "
   }
},
{
  "name": {
     "common": "Bouvet Island",
     "official": "Bouvet Island"
  },
  "flags": {
     "png": "https://flagcdn.com/w320/bv.png",
     "svg": "https://flagcdn.com/w320/bv.svg",      
   }
}
]

About

Test API for MAppCountries Mobile Application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published