We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Archicad C++ API
About Archicad add-on development using the C++ API.

HTTPS request - CommunicationClient_Test

johnnie
Participant

Hi everyone,

 

Im trying to get a hang of how to connect archicad to a rest api and get a json response.

Im using and building the example from the devkit, CommunicationClient_Test, and as is with the link to worldtimeapi it doesnt work. I have tried other apis as well and removing the requestMethodId. 

 

From what i can tell by some printing and debugging the connection works with the serverBaseUrl, but its in the execute function that the error happens and the error "Exception occurred! The server failed to fulfil the request!" always comes up no matter what. Does anyone have a clue and can be able to help me? Does the example build and work without modifications for everyone else? 

 

See the pic for where i think i have found that the error always happens. 

johnnie_0-1732172970967.png

 

0 REPLIES 0