URL Encoding

  1. 5 years ago

    henry_cho

    3 Jun 2018 User since 2018

    All of my requests seem to be broken now after the new release (not sure which of the recent versions did it)

    I suspect its something to do with the URL encoding.

    If the request has a simple URL eg
    https://api.airtable.com/v0/app2qdjo13RWolJqT/Master
    There is no problem
    but if the url has encoded characters eg
    https://api.airtable.com/v0/app2qdjo13RWolJqT/Custom%20measures
    The request fails.
    All the complex requests I have now including filters etc now fail also.
    Has something changed?

  2. henry_cho

    3 Jun 2018 User since 2018

    I have updated my project to use the path feature but the queries still seem to fail.
    For example:
    This request works in postman
    https://api.airtable.com/v0/app2qdjo13RWolJqT/Master?fields%5B%5D=Today's+remaining&filterByFormula=(%7BName%7D+%3D+'Diane+Cho' )

    If I enter the query part of the URL into Creo such that
    [HttpClient][Path]?fields%5B%5D=Today's+remaining&filterByFormula=(%7BName%7D+%3D+'Diane+Cho')
    This seems to fail and the attributes are extracted as:
    filterbyFormula : ({Name}+=+'Diane+Cho')
    fields[]: Today's+remaining

    Any thoughts?

  3. marco

    4 Jun 2018 Administrator User since 2016

    Hi @henry_cho,
    can you please try this newer build https://media.creolabs.com/beta/unofficial/creo_build13489.zip and confirm that all the issues has been fixed?
    Thanks!

  4. henry_cho

    6 Jun 2018 User since 2018

    Thanks Marco, Mostly good but one of the requests crashes the app everytime i test it

  5. marco

    6 Jun 2018 Administrator User since 2016

    @henry_cho which one?
    Can you please send us a sample project?

  6. henry_cho

    6 Jun 2018 User since 2018

    sure its the request customsizes

  7. andrea

    6 Jun 2018 Administrator User since 2016

    Hi @henry_cho, this build should fix the crash with the customsizes request:
    https://media.creolabs.com/beta/unofficial/creo_build13503.zipt .

  8. henry_cho

    9 Jun 2018 User since 2018

    Thanks this seems to work @andrea

or Sign Up to reply!