Jump to content

Search the Community

Showing results for tags 'rest api'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Caspio Bridge
    • General Questions
    • Caspio JavaScript Solutions
    • Tables, Views and Relationships
    • Import/Export and DataHub
    • DataPages
    • Deployment
    • Security, Authentications, Roles, SAML
    • Styles and Localizations
    • Parameters
    • API and Integration
    • Calculations and aggregations
    • User JavaScript and CSS Discussions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location


Interests

Found 3 results

  1. When updating a record using the REST API, I encounter the following error: "Code":"TriggerRuntimeError","Message":"Data change cannot be performed due to triggered action failed. Please contact administrator." The table has a triggered action to send an email anytime a record is updated or inserted. The really strange part is that everything works perfectly fine when using chrome. The error is only thrown in mozilla and only thrown when updating a record. Inserting a record works as expected. I am using php & curl to make the requests.
  2. I have the CASPIO table that has the same structure as my old MySQL DB. I need to convert this mysql query into CASPIO REST api $mquery = "SELECT m.*, DATE_FORMAT(m.created, '%e %b %Y %h:%i %p') AS message_date, u.fname, u.lname FROM cashbackengine_messages m, cashbackengine_users u WHERE u.user_id='$userid' AND m.is_admin='0' AND m.user_id=u.user_id ORDER BY created DESC"; I'm not sure whether CASPIO REST api supports join. If yes, how? Can anybody help me? Thank you. Eiji
  3. Hi, I am trying insert a record which has a auto number. I am trying return auto-number in my response but it returns nothing. can anyone advise on this. table :TBL_TEST{uid autonumber,ID string ,NAME string} function CallWebAPI1() { var params={"ID":"1","NAME":"test"}; request.open("POST", "https://XXXXX.caspio.com/rest/v1/tables/TBL_TEST/rows", true); request.setRequestHeader("Authorization", "Bearer "+ accessToken); request.setRequestHeader("Accept", "application/json"); request .setRequestHeader("Content-Type", "application/json;charset=UTF-8"); request.send(JSON.stringify(params)); request.onreadystatechange = function () { if (request.readyState == 4 && request.status== 201) { var response = request.responseText; //request.responseText returns empty here. } } }
×
×
  • Create New...