check my API

ilan

Expert
Licensed User
Longtime User
hi all

i am running my new web app and i would like you to test it for me (please ?) .

first i want to know if you see a secure connection? i have installed SSL certificate. (https://www.ssls.com/)
on SSL Checker it looks fine but want to make sure that it also looks on your web browser ok

SSL CHECKER: https://decoder.link/sslchecker/lets-quiz.net/443
WebApp Link: lets-quiz.net

Now please find attached the b4a app and see if you can perform api calles to the server.
The API-Key inside the app is mine (give it for you for testing because it contains already many questions,...)

make sure to change from local build to New_1 because the apiurl will only work on local connection with the local api url!

thanx, ???
 

Attachments

  • QuizApiB4a.zip
    7.9 KB · Views: 100

mcqueccu

Well-Known Member
Licensed User
Longtime User
On browser side: Mozilla, Chrome, Edge, Opera all reported secure connection.

1691271309023.png
 

mcqueccu

Well-Known Member
Licensed User
Longtime User
Mobile App:


B4X:
{
    "code": 200,
    "response": [
        {
            "question": "Which one of the following artist wasn’t Spanish?",
            "answer3": "Salvador Dali",
            "answer2": "Pablo Picasso",
            "language": "english",
            "answer4": "Francisco Goya",
            "image_answer1": "",
            "answer1": "Claude Monet",
            "image_answer4": "",
            "image_other": "",
            "image_answer2": "",
            "image_answer3": "",
            "id": 246,
            "category": "literature",
            "image_question": ""
        },
        {
            "question": "Which one of the following is not an Agatha Christie book?",
            "answer3": "Murder on the Orient Express",
            "answer2": "The Mystery of the Blue Train",
            "language": "english",
            "answer4": "Death on the Line",
            "image_answer1": "",
            "answer1": "The Guest List",
            "image_answer4": "",
            "image_other": "",
            "image_answer2": "",
            "image_answer3": "",
            "id": 247,
            "category": "literature",
            "image_question": ""
        },
        {
            "question": "Which famous character is Ian Fleming best known for?",
            "answer3": "Miss Marple",
            "answer2": "Sherlock Holmes",
            "language": "english",
            "answer4": "Gandalf",
            "image_answer1": "",
            "answer1": "James Bond",
            "image_answer4": "",
            "image_other": "",
            "image_answer2": "",
            "image_answer3": "",
            "id": 248,
            "category": "literature",
            "image_question": ""
        },
        {
            "question": "Who painted ‘American Gothic’?",
            "answer3": "James Whistler",
            "answer2": "Andy Warhol",
            "language": "english",
            "answer4": "Georgia O’Keeffee",
            "image_answer1": "",
            "answer1": "Grant Wood",
            "image_answer4": "",
            "image_other": "",
            "image_answer2": "",
            "image_answer3": "",
            "id": 249,
            "category": "literature",
            "image_question": ""
        },
        {
            "question": "Who wrote Game of Thrones?",
            "answer3": "R. L. Stine",
            "answer2": "H. P. Lovecraft",
            "language": "english",
            "answer4": "J.K Rowling",
            "image_answer1": "",
            "answer1": "George R.R. Martin",
            "image_answer4": "",
            "image_other": "",
            "image_answer2": "",
            "image_answer3": "",
            "id": 250,
            "category": "literature",
            "image_question": ""
        },
        {
            "question": "Who wrote The Little Prince?",
            "answer3": "Beatrix Potter",
            "answer2": "Roald Dahl",
            "language": "english",
            "answer4": "C.S. Lewis",
            "image_answer1": "",
            "answer1": "Antoine de Saint-Exupéry",
            "image_answer4": "",
            "image_other": "",
            "image_answer2": "",
            "image_answer3": "",
            "id": 251,
            "category": "literature",
            "image_question": ""
        },
        {
            "question": "Which art movement is Picasso known for?",
            "answer3": "Futurism",
            "answer2": "Romanticism",
            "language": "english",
            "answer4": "Impressionism",
            "image_answer1": "",
            "answer1": "Cubism",
            "image_answer4": "",
            "image_other": "",
            "image_answer2": "",
            "image_answer3": "",
            "id": 252,
            "category": "literature",
            "image_question": ""
        },
        {
            "question": "Which book is Beatrix Potter best known for?",
            "answer3": "Matilda",
            "answer2": "Here Comes Charlie Moon",
            "language": "english",
            "answer4": "The Jungle Book",
            "image_answer1": "",
            "answer1": "The Tale of Peter Rabbit",
            "image_answer4": "",
            "image_other": "",
            "image_answer2": "",
            "image_answer3": "",
            "id": 253,
            "category": "literature",
            "image_question": ""
        },
        {
            "question": "Who wrote Don Quixote?",
            "answer3": "Julia Alvarez",
            "answer2": "John Locke",
            "language": "english",
            "answer4": "Gabriel García Márquez",
            "image_answer1": "",
            "answer1": "Miguel de Cervantes",
            "image_answer4": "",
            "image_other": "",
            "image_answer2": "",
            "image_answer3": "",
            "id": 254,
            "category": "literature",
            "image_question": ""
        }
    ],
    "message": "success",
    "error": null,
    "status": "ok"
}
Message longer than Log limit (4000). Message was truncated.
 
Top