Skip to content

Post data to Spring with retrofit #3970

Closed

Description

@Creezen

I have a Android project for client and a Spring project for server.

In Android, I want to post the String param "type" and a POJO "User" with to my Spring project, what is the best way?

The param "type" is used to decide my server function, eg: for query or compare.

Thus, It's used for only once, it's impossible to put it into the POJO "User"

Activity

  1. locked and limited conversation to collaborators on Sep 25, 2023
  2. converted this issue into a discussion #3971 on Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions