Podio developer api

Comments

11 comments

  • Andreas Garnæs

    Hi Dipen,

    What request are you making which causes this error?

    Thanks,
    Andreas

    0
    Comment actions Permalink
  • Dipen Modi

    https://api.podio.com/file/

    I am using this url to get all files...

    0
    Comment actions Permalink
  • Dipen Modi

    I also tried using sendbox url, which shows on below page to get files...

    https://developers.podio.com/doc/files/get-files-4497983

    0
    Comment actions Permalink
  • Andreas Garnæs

    Are you using POST or GET? Are you setting a POST body?

    0
    Comment actions Permalink
  • Dipen Modi

    Yes I am using post request

    var data = {"authenticity_token" : token,
    "query_param[limit]" : "20",
    "query_param[sort_by]" : "name",
    "query_param[sort_desc]" : true,
    "uri" : "/file/",
    "utf8" : "✓"
    }

    0
    Comment actions Permalink
  • Dipen Modi

    Sending above data as post data..

    0
    Comment actions Permalink
  • Dipen Modi

    Also my request content type is set to
    'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',

    0
    Comment actions Permalink
  • Dipen Modi

    Below is my code to get files...I am getting access token successfully

    $('.projects').click(function () {
    var data = {"authenticity_token" : token,
    "query_param[limit]" : "20",
    "query_param[sort_by]" : "name",
    "query_param[sort_desc]" : true,
    "uri" : "/file/",
    "utf8" : "✓"
    }
    var url = "https://developers.podio.com/doc/process_request";
    $.ajax({
    url: url,
    type: 'POST',
    dataType: "JSON",

    data : data,
    cache: false,
    headers: {
    'Content-Type': 'application/x-www-form-urlencoded; charset=UTF-8',
    'Accept' : '/'
    },
    success: function(data) {
    // var string = JSON.stringify(data, null, "\t");
    // $('#files textarea').text(string);
    // $('#well-files').val(url);

    },
    error: function() {

           }
        });
    });
    
    0
    Comment actions Permalink
  • Andreas Garnæs

    Hi dipen,

    You should be using the url https://api.podio.com instead of https://developers.podio.com/doc/process_request.

    If you're using Javascript, consider taking a look at podio-js (a Javascript client for Podio).

    Best,
    Andreas

    0
    Comment actions Permalink
  • Dipen Modi

    https://api.podio.com

    I have also used above API URL..but It was not working..
    Does PODIO provide http api like ASANA and Slack provides?

    0
    Comment actions Permalink
  • Andreas Garnæs

    Please check out the developer documentation: https://developers.podio.com/

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk