Testing the Missing Numbers API Using Postman

Unlock Numerological Insights: Testing the Missing Numbers API with Postman for Accurate Results

 Last updated : 30 Dec, 2024
 Guide

1. Securing Your API Key

To start, you need an API key. Head over to https://divineapi.com/ and register to initiate your 7-day trial.

  • Select the APIs you are interested in; you can change these selections at any time. You can add or remove APIs in the future.
  • Click on checkout, fill out the sign-up form, and enter your payment details on the next page.

Your trial will begin immediately. You won't be charged during the trial period, and you can cancel anytime without incurring any charges.

  • After logging in, your API key will be visible on your dashboard on the API Key page ( https://divineapi.com/api-keys)

 

2. Importing the Postman Collection

Import our Postman collection to facilitate your API testing:

  • After logging into your Postman account:
  • Open This link: https://documenter.getpostman.com/view/27195761/2sA3Qs8rfV 
  • Click “Run in Postman” and then select “Run in Web”.
  • Select your workspace and then select ‘import’.

 

3. Configuring Your API Request

Once the collection is imported:

  • Locate the "Missing Numbers" API request.
  • Ensure the method is set to POST.
  • Use this request URL: https://astroapi-7.divineapi.com/numerology/v1/missing-numbers

 

4. Setting Request Parameters

This API call necessitates only your API key. To find your API key.

  • Go to your DivineAPI dashboard > API Key page.
  • Click on “Copy” next to the API key

 Notice the difference between the key, and the Access Token.

 

Go back to Postman to set the parameters.

  • Navigate to “Authorization”, select “Bearer Token” in the Auth type, and then add the token from your Divine API profile.
  • Navigate to 'Body', select 'form_data', and then add:
    • api_key | Value: <Your_API_Key>
    • day: “24” - Enter the day.
    • month: “05” - Enter the month.
    • year: “2023” - Enter the year.
    • fname: “Rahul” - Enter the first name.
    • lname: "kumar" - Enter the last name.
    • lan : “en” - Enter the language ex. (en/hi).
  • Please ensure that the bearer token is exactly the same as in your profile, with no changes in spacing or formatting.

 

5. Making the Request

Hit the 'Send' button to submit your request.

 

6. Deciphering the Response

The API's response will be structured as follows:

{

{
    "status": "success",
    "code": 200,
    "message": "Request was successful",
    "data": [
        {
            "number": 1,
            "result": "You will always need support and guidance in life. You find it difficult to explain your view, opinions, and yourself to others. You go out of your way to help others. You care about them more than what should be considered necessary. You believe everyone's problem is your own. As such, you are always stressed. \n\nYou are quite down to earth. Pride and ego have no place in your life. You should explore your creativity and pursue a career reflecting this. The problem is you can't freely express yourself and your individuality to others. Therefore, your creativity could be an outlet for your feelings and emotions. Express yourself through your creativity. You will be one of those people known for your work. "
        },
        {
            "number": 7,
            "result": "Your life will be full of challenges. You are very irregular in life. You are self-centered and absorbed in your own thoughts. You believe you are a victim, oppressed by powerful people. You blame others for every mishap in your life. You think you are innocent and everything that goes wrong is the fault of others. You feel that others do not care about you. You make reckless decisions, without thinking twice. You are always stressed. \n\nWhen it comes to family, your stars hint you might be blessed with daughters. Interestingly, this also depends on your partner’s astrological details, especially if their chart is missing the number 7. It’s a reminder of how connected we are, even through the stars. You do not care about the emotions of others. You are not religious or spiritual. The only way you could improve your life is to take responsibility for your actions. Remove the “victim” image of yourself from your mind and accept your mistakes. "
        }
    ]
}
  • The Missing Numbers API provides valuable insights into an individual’s personality and life challenges based on their numerological chart.
  • Testing the API in Postman ensures its functionality and accuracy in delivering results.
  • By analyzing the data, such as specific missing numbers and their interpretations, users can make informed decisions or enhancements to their applications.
  • This API simplifies integrating numerological insights into various platforms, making it an excellent tool for developers and service providers.

7. Error Resolution

Ensure your API key is correctly entered if you encounter errors, as most issues are due to invalid or missing API keys.

8. Further Assistance

For additional support or inquiries, feel free to contact our customer service team at admin@divineapi.com.