VaRest GET not working

I’m trying to use the VaRest plugin to communicate with 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:

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 {}

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

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

1 Like

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!

Thanks !