Coder Social home page Coder Social logo

Comments (6)

luisgonptl avatar luisgonptl commented on May 16, 2024

Check that you are adding the "add(Http.class);" in your android MainActivity.

from http.

tonraj avatar tonraj commented on May 16, 2024

Check that you are adding the "add(Http.class);" in your android MainActivity.

I did.

from http.

luisgonptl avatar luisgonptl commented on May 16, 2024

Try remove params, and move the size property to data.
POST -> data goes in data
GET -> data goes in params

from http.

tonraj avatar tonraj commented on May 16, 2024

POST

Yeah I did but nothing goes inside DATA.

I moved to AXIOS closing the issue.

from http.

KimGnab avatar KimGnab commented on May 16, 2024

POST

Yeah I did but nothing goes inside DATA.

I moved to AXIOS closing the issue.

How did you solve the cors error in AXIOS?

from http.

butaminas avatar butaminas commented on May 16, 2024

This seems to be an old issue but I have the exact same problem.
I only set data (my post request parameters), headers and url in the config that I pass to Http.post(config).

For some reason, the post parameters are never passed.

from http.

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.