Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Who knows how to connect to a certain API?


This discussion is about "Who knows how to connect to a certain API?" in the "Programming" forums.
Hi. cross domain issue, jsonp ang gamiton ana. pero dapat valid json format ang i return, sa imu case kay text/html. so dili applicble ang ...

  1. #21
    Junior Member 1722's Avatar
    Join Date
    Jul 2010
    Gender
    Male
    Posts
    236

    Hi.

    cross domain issue, jsonp ang gamiton ana. pero dapat valid json format ang i return, sa imu case kay text/html. so dili applicble ang jsonp.

    jquery - Basic how-to for cross domain jsonp - Stack Overflow

    ang imu option na lang kay curl. tapos ang i return nga response in html, imu i-process na sad para matultulan kung unsa nga value a imu gina-expect.

    pero kung api man gani na, nga public, usually naa na sila parameters ang gina-require, usually type , i-declare nimu kung unsa nga type ang imu i-accept in return sa ila api call, i.e. type=json.

    pero ang pinaka-importante, basa sa docu/wiki sa api. kay naa didto tanang paagi ug sample code.

    good luck.


    - la ko kabantay nga nakuha na diay nimu using curl. sorry.

  2. #22
    Newbie
    Join Date
    Sep 2014
    Gender
    Female
    Posts
    18
    Guys im having another problem while uploading sa ilang server naka https I tried different suggestions from the net like using curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); however failed to connect sa ilang API nya connection timed out. Thanks for the help

  3. #23
    Junior Member
    Join Date
    Oct 2012
    Gender
    Male
    Posts
    101
    if nag web ka, you can use PHP and PHP-CURL para maka connect ka sa mga API..
    PHP: cURL - Manual

  4.    Advertisement

Page 3 of 3 FirstFirst 123

Similar Threads

 
  1. Who knows how to sketch?
    By HybernaTe in forum Manga & Anime
    Replies: 2
    Last Post: 09-18-2007, 09:30 AM
  2. Who knows how to setup Mail Server (linux)
    By jdimpas in forum Networking & Internet
    Replies: 5
    Last Post: 09-07-2007, 09:08 AM
  3. Help: Who knows how to Organize Bazaars?
    By secret_anx in forum Parties & Events
    Replies: 13
    Last Post: 08-09-2007, 08:03 PM
  4. LF: Who knows how to run Fallout 1&2 in WinXP
    By Hitchiker in forum Software & Games (Old)
    Replies: 2
    Last Post: 10-18-2006, 09:57 AM
  5. Who knows how to BEATBOX?
    By celtic_predator in forum Music & Radio
    Replies: 1
    Last Post: 07-19-2006, 12:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top