Invalid request body error when get data from Astrology api

Hello
iam trying to use freeastrologyapi to get astrology and zodiac houses from api in kodular using Web component

result: invalid request body

this error come in kodular and in (online Api testing in repqin website)??

can anyone help me?

json that used in kodular:
“{"day":25,"month":5,"year":1999,"hour":13,"minute":30,"lat":34.889,"lon":35.886,"tzone":3}”

api documentation from freeastrologyapi
is the url >>

my maintenance api(just for testing):
cdPmFnhaAm20jvyQVND8a1TX7nO6KkDea45meEi8

url web use in web component:
https://json.freeastrologyapi.com/western/houses

astrology.aia (3.0 KB)

Please Help me

Send a correct json string

Remove the backslashes and the first double quotes
You can test for valid json strings here https://jsonlint.com

{“day”:25,“month”:5,“year”:1999,“hour”:13,“minute”:30,“lat”:34.889,“lon”:35.886,“tzone”:3}

Taifun

1 Like

thank you(problem solved after remove backslahes and first double quotes and after editing some strings like tzone to timezone according to api documentation)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.