You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am trying to use this http client example but I am not able to visualize the data received, I am able to receive and parse JSON data on post request without header but when I add header , which is required for this one particular request the buffer shows no data , while param.message shows ?????? in terminal.
Hi, I am trying to use this http client example but I am not able to visualize the data received, I am able to receive and parse JSON data on post request without header but when I add header , which is required for this one particular request the buffer shows no data , while param.message shows ?????? in terminal.
Following is my request format
`struct FetchParams dataStruct;
dataStruct.OnDataRcv =OnDataRcv;
dataStruct.method=Post;
Header headerContentType = {
.key="Content-Type",
.val="Application/json"
I have checked with postman , it returns the following output data
{
"access_token": "170ea98ce3fb4f7fc0955a3277e5f0ab9c9d3abad59b435553d36f11b0c81b2b731618926240929",
"token_type": "Bearer",
"expires_in": 86400,
"refresh_token": "17b52fd903fec46f884fa5a1431f30a7f5556663408b9a521bfa6437254731f4ec1618926240930",
"scope": "hub"
}
I am also attaching output on terminal,
The text was updated successfully, but these errors were encountered: