Coder Social home page Coder Social logo

Comments (7)

jonmorehouse avatar jonmorehouse commented on June 22, 2024

Reopening this - referencing https://groups.google.com/forum/#!topic/rubymotion/z0Sg97JDLbo

from afmotion.

clayallsopp avatar clayallsopp commented on June 22, 2024

Hi, is this still an issue for you?

On Jun 20, 2014, at 3:35 AM, Jon Morehouse [email protected] wrote:

Reopened #58.


Reply to this email directly or view it on GitHub.

from afmotion.

jonmorehouse avatar jonmorehouse commented on June 22, 2024

Yeah, I've narrowed it down to this library, where as before I didn't think it was related. I've also posted on the Rubymotion mailing list as well https://groups.google.com/forum/#!topic/rubymotion/z0Sg97JDLbo

from afmotion.

clayallsopp avatar clayallsopp commented on June 22, 2024

Can you run something like Charles or a similar proxy program and upload the diff between BubbleWrap and AFMotion's requests?

from afmotion.

jonmorehouse avatar jonmorehouse commented on June 22, 2024

So doing some more digging, I realized that its actually making the request successfully and getting a 200 response. However, the Content-Type returned is always 'text/html', (I think an issue with the api).

This response
https://gist.github.com/jonmorehouse/6020578f28c44debf4bf

from afmotion.

clayallsopp avatar clayallsopp commented on June 22, 2024

I debugged this using your example and you need to use this:

@client = AFMotion::Client.build(@apiroot) do
  request_serializer :json
  response_serializer :http
end

from afmotion.

jonmorehouse avatar jonmorehouse commented on June 22, 2024

Awesome, this works perfectly. Thanks for helping me debug.

from afmotion.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.