Advertisement
Guest User

Apis

a guest
Nov 20th, 2019
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.44 KB | None | 0 0
  1. ----------------- this is for dynamic key values
  2. {// object with some properties
  3.  
  4. "free_available_countries": [],
  5. }
  6.  
  7. {// same object with properties
  8.  
  9.  "free_available_countries": {
  10.         "EG": "EGYPT",
  11.         "SA": "SAUDI ARABIA"
  12.     }
  13. }
  14.  
  15. -------------------this is for different response to the same API
  16.  
  17. --success
  18. {
  19. "username":"test",
  20. "mail":"test@test.com"
  21. }
  22.  
  23. --failure
  24. {
  25. "status:"404",
  26. "message":"user not found"
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement