Search found 3 matches

by sculptorsjb
Thu Jan 05, 2017 7:36 am
Forum: Feature Requests and Wishlists
Topic: Add custom headers to HTTPRequest
Replies: 13
Views: 12515

Re: Add custom headers to HTTPRequest

hi

The general gist of these posts suggest the problem of setting headers has been solved
but i Can't see how ? and the help file doesn't seem to explain how to use them.

so newby question

how do i set a custom header ?

cheers
steve
by sculptorsjb
Thu Jan 05, 2017 7:18 am
Forum: Coding Questions
Topic: how do I get data from a rest service ?
Replies: 2
Views: 2859

Re: how do I get data from a rest service ?

thanks for the reply tj1010

i managed to get the rest service to allow set Access-Control-Allow-Origin: *
i can now bring the json down and display it in the debug window and save it as a file
i am still trying to learn how to use the gadgets to move stuff around

luckily the server is doing the ...
by sculptorsjb
Fri Dec 30, 2016 10:28 am
Forum: Coding Questions
Topic: how do I get data from a rest service ?
Replies: 2
Views: 2859

how do I get data from a rest service ?

I am new to spider basic

Ideally I want to get json from a particular rest service.

The service defaults to supplying xml unless I can set the request header accept field to json. (firefox)

At the moment in my spider project I have a web gadget that fills with xml when I access the rest service ...