Project

General

Profile

need help with restapi

Added by schnaider schnaider 9 months ago

hello i try to do like the example on git hub but i get a 404 page with curl i want to try it now with postman please someone can show me how can i call the api please


Replies (2)

RE: need help with restapi - Added by Chris Lomuntad 9 months ago

Hi schnaider,

Did you change the DOMAINNAME into either your server's domain name or IP used to access your server? Also, have you tried using the right URL/path where you can access the files via web browsers?

curl 'https://DOMAINNAME/goAPI/goCampaigns/goAPI.php?goAction=goAddCampaign&goUser=goAPIuser&goPass=goAPIpass&responsetype=json&campaign_id=12231977&campaign_name=CAMPAIGN_NAME&campaign_type=outbound&dial_prefix=CUSTOM&custom_prefix=9&dial_method=MANUAL&auto_dial_level=OFF&campaign_recording=NEVER&answering_machine_detection=8369&session_user=admin&user_group=ADMIN'

Cheers,
Chris

RE: need help with restapi - Added by Demian Lizandro Biscocho 9 months ago

Moved to the correct section.

    (1-2/2)
    Go to top