# VaRest GET not working

**URL:** <https://forums.unrealengine.com/t/varest-get-not-working/479432>\
**Category:** Plugins\
**Tags:** onlinesubsystem, url, unreal-engine, api, json, question\
**Created:** [February 25, 2021, 9:51pm UTC](https://forums.unrealengine.com/t/varest-get-not-working/479432 "2021-02-25T21:51:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![AgentArachnid66](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AgentArachnid66](https://forums.unrealengine.com/u/AgentArachnid66)\
**Post date:** [February 25, 2021, 9:51pm UTC](https://forums.unrealengine.com/t/varest-get-not-working/479432/1 "2021-02-25T21:51:04Z")

</div>

I’m trying to use the VaRest plugin to communicate with [JSONbin.io](http://JSONbin.io) to dump my analytics, but I need to be able to retrieve the JSON first. I’ve fiddled around with the API and the plugin but haven’t been able to figure out what is going wrong.  
Here is my base set up:

 ![330908-annotation-2021-02-25-214007.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/2/322eae2d570a72a7cc31b3a494a5cbf4c037765f.png)

I’ve tried:

- Changing the Content Type to url
- Double checked that the URl was correct (I excluded it as it includes a private API key)

I know it isn’t working correctly as when I changed the content type to url, it gave me the correct response back in the output log, with the content being:

```
 { "test1": "This is a test" }

```

but when I tried to get this from the response object, it gave me a blank JSON string {}

---

<div class="post-metadata">

**Author:** ![AgentArachnid66](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AgentArachnid66](https://forums.unrealengine.com/u/AgentArachnid66)\
**Post date:** [February 26, 2021, 10:03am UTC](https://forums.unrealengine.com/t/varest-get-not-working/479432/2 "2021-02-26T10:03:16Z")

</div>

Got it working. My setup below works for me incase anyone else has this problem in the future

 ![331011-annotation-2021-02-26-100159.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/9/289ab54799b09887b47cd0bceedf9db2a240873d.png)

---

<div class="post-metadata">

**Author:** ![Andariel\_yo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Andariel\_yo](https://forums.unrealengine.com/u/Andariel_yo)\
**Post date:** [January 28, 2022, 8:07am UTC](https://forums.unrealengine.com/t/varest-get-not-working/479432/3 "2022-01-28T08:07:01Z")

</div>

hi. the thing is GET + JSON content type do nothing due to vaRest code. you must use POST for json content type.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/6/296e2c3e528bf144ce05840735b31681f07fdd0e.png)

---

<div class="post-metadata">

**Author:** ![Davixe](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Davixe](https://forums.unrealengine.com/u/Davixe)\
**Post date:** [February 7, 2022, 6:45pm UTC](https://forums.unrealengine.com/t/varest-get-not-working/479432/4 "2022-02-07T18:45:34Z")

</div>

Hi,

I’m having the same issue, but because of the new “answerhub”, I’m not able to see your image that solves this problem. You will help me a lot if you can upload it again.

Thanks!

---

<div class="post-metadata">

**Author:** ![StuntmanM](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/stuntmanm/32/495239_2.png) [@StuntmanM](https://forums.unrealengine.com/u/StuntmanM)\
**Post date:** [November 8, 2023, 7:14am UTC](https://forums.unrealengine.com/t/varest-get-not-working/479432/5 "2023-11-08T07:14:05Z")

</div>

Thanks !
