Passing JSON data in get request as request body

后端 未结 2 912
心在旅途
心在旅途 2021-01-02 05:57

Hi i have to send a get request to an url
http://onemoredemo.appspot.com/group?authToken=access_token&authMethod=oauth

with request body contains json object

2条回答
  •  时光说笑
    2021-01-02 06:26

    The body of a GET request is not read.

    Have you tried adding it to the params:

    http://onemoredemo.appspot.com/group?authToken=access_token&authMethod=oauth&goupid=some_variable

提交回复
热议问题