Skip to content

fly-rest appending ?null when GET is called without parameters #2

Description

@tulioccalazans

Hi, please check the folowing code in Request.Java.
This library is appending "?null" when GET is called without parameters.
Note: I'm using fly-rest 0.0.5

public String getUrl() { StringBuilder url = new StringBuilder(this.mUrl); if(HttpMethod.GET.equals(this.getHttpMethod())) { url.append('?').append(this.getParameters()); } return url.toString(); }

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions