Skip to content

How do I add request headers? I saw the accept method which is expecting a string, but I need to add new key,value pairs for headers #150

Description

@hagarwal-mdsol
No description provided.

Activity

  1. PengTan-Capillarytech commented on Jun 28, 2019

    @PengTan-Capillarytech

    Have you solved this problem? I also encountered the same problem, did not see the instructions

  2. PengTan-Capillarytech commented on Jun 28, 2019

    @PengTan-Capillarytech
  3. PengTan-Capillarytech commented on Jul 1, 2019

    @PengTan-Capillarytech

    I've found a way to do that. HttpRequest.get().header("yourKey","yourValue")

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