HTTP Request Runscope


#1

Hi

I am trying to make an HTTP request from a Runscope API. The workflow and raw JSON are as per the attached files.

The output from the workflow is as per the attached PNG file, showing “internal server error” and does not reflect the raw JSON.

Any advice on what I am doing wrong would be greatly appreciated.

rawRunscope.json (1.4 KB)

IRunscopeJson.xaml (9.4 KB)


#2

Hey @tobor

This url seems not correct. If you will use Get method then you will get something with status code 200 but with post there are no parameters?

First check with that URL . Try with postman first. Url should be correct.

If you wanna check your json response. Try with this sample Url which will reuturn json response with GET Method

https://jsonplaceholder.typicode.com/posts/1

Regards…!!
Aksh


#3

Thank you @aksh1yadav

I am now picking up the correct url. However, there are multiple post entries to the API, most of which have no body. I want to pull the post entries where the body length > 0. Is there a way in the options section of the http request activity which allows me to filter the entries which are requested?